]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
struct wimlib_wim_info: Set correct reserved_flags bit count
[wimlib] / include / wimlib.h
index 6d3c3caabc551eea74b8cfa414f68e83f1f3f32e..62caa2db3f199e4e350a96aeed30127ca2e9866e 100644 (file)
@@ -709,7 +709,7 @@ struct wimlib_wim_info {
        uint32_t write_in_progress : 1;
        uint32_t metadata_only : 1;
        uint32_t resource_only : 1;
-       uint32_t reserved_flags : 24;
+       uint32_t reserved_flags : 23;
        uint32_t reserved[9];
 };
 
@@ -916,9 +916,9 @@ struct wimlib_wim_info {
 /** Check if the WIM is writable and return ::WIMLIB_ERR_WIM_IS_READONLY if it
  * is not.  A WIM is considered writable only if it is writable at the
  * filesystem level, does not have the WIM_HDR_FLAG_READONLY flag set in its
- * header (note: wimlib currently never sets this flag), and is not part of a
- * spanned set.  It is not required to provide this flag to make changes to the
- * WIM, but with this flag you get the error sooner rather than later. */
+ * header, and is not part of a spanned set.  It is not required to provide this
+ * flag to make changes to the WIM, but with this flag you get the error sooner
+ * rather than later. */
 #define WIMLIB_OPEN_FLAG_WRITE_ACCESS                  0x00000004
 
 /******************************