From: Martin Kletzander Date: Mon, 10 Jun 2013 09:44:31 +0000 (+0200) Subject: storage: fix description of versionOffset X-Git-Tag: v1.1.0-rc1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78cbff0ff23cc86d44005878f10023568604bd09;p=thirdparty%2Flibvirt.git storage: fix description of versionOffset --- diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index b985df461a..a3917389eb 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,