X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Futil.c;h=f5a8ca29fb5e6451aea7926a0975471ce10f2514;hp=6b93e2a93bab0daf16e0c20c990fa871d7b005c7;hb=fced769402ff6ef0bf75fe9e4dcb2880891469e0;hpb=f5d26d6005ba759762bec8c7cd45a738e577a8a7 diff --git a/src/util.c b/src/util.c index 6b93e2a9..f5a8ca29 100644 --- a/src/util.c +++ b/src/util.c @@ -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,6 +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_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]