From 78cbff0ff23cc86d44005878f10023568604bd09 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Mon, 10 Jun 2013 11:44:31 +0200 Subject: [PATCH] storage: fix description of versionOffset --- src/util/virstoragefile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index b985df461..a3917389e 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -79,7 +79,8 @@ struct FileTypeInfo { enum lv_endian endian; /* Endianness of file format */ int versionOffset; /* Byte offset from start of file * where we find version number, - * -1 to skip version test */ + * -1 to always fail the version test, + * -2 to always pass the version test */ int versionNumber; /* Version number to validate */ int sizeOffset; /* Byte offset from start of file * where we find capacity info, -- 2.39.5