]> xenbits.xensource.com Git - libvirt.git/commitdiff
storage: fix description of versionOffset
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 10 Jun 2013 09:44:31 +0000 (11:44 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 10 Jun 2013 09:44:31 +0000 (11:44 +0200)
src/util/virstoragefile.c

index b985df461a42ffd51cec7a4d08a5c54344b40217..a3917389eb9b89631c8dd0169453a37d76bf0551 100644 (file)
@@ -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,