]> wimlib.net Git - wimlib/blobdiff - src/util.c
Remove verify_dentry(); separate refcnt recalc. from verify_inode()
[wimlib] / src / util.c
index 87dd3c50f8585d92bb984040185d36d7f7353348..f5a8ca29fb5e6451aea7926a0975471ce10f2514 100644 (file)
@@ -145,7 +145,7 @@ wimlib_fprintf(FILE *fp, const tchar *format, ...)
 #endif /* __WIN32__ */
 
 #ifdef ENABLE_ERROR_MESSAGES
-static bool wimlib_print_errors = false;
+bool wimlib_print_errors = false;
 #endif
 
 #if defined(ENABLE_ERROR_MESSAGES) || defined(ENABLE_DEBUG)
@@ -389,8 +389,8 @@ static const tchar *error_strings[] = {
                = T("The requested operation is unsupported"),
        [WIMLIB_ERR_VOLUME_LACKS_FEATURES]
                = T("The volume did not support a feature necessary to complete the operation"),
-       [WIMLIB_ERR_WIM_IS_MARKED_READONLY]
-               = T("The WIM is marked as read-only"),
+       [WIMLIB_ERR_WIM_IS_READONLY]
+               = T("The WIM is read-only (file permissions, header flag, or split WIM)"),
        [WIMLIB_ERR_WRITE]
                = T("Failed to write data to a file"),
        [WIMLIB_ERR_XML]