X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.c;h=08bcb39b70f4037211fa19e88a6b0526144c158f;hb=1c68d17e932efcf0bb709b7e88628972bf5f935d;hp=87dd3c50f8585d92bb984040185d36d7f7353348;hpb=4b8dbcb1723bacdd692ea57184cb49ce3d2b7774;p=wimlib diff --git a/src/util.c b/src/util.c index 87dd3c50..08bcb39b 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) @@ -369,6 +369,8 @@ static const tchar *error_strings[] = { = T("Could not rename a file"), [WIMLIB_ERR_REPARSE_POINT_FIXUP_FAILED] = T("Unable to complete reparse point fixup"), + [WIMLIB_ERR_RESOURCE_NOT_FOUND] + = T("A file resource needed to complete the operation was missing from the WIM"), [WIMLIB_ERR_RESOURCE_ORDER] = T("The components of the WIM were arranged in an unexpected order"), [WIMLIB_ERR_SPECIAL_FILE] @@ -389,8 +391,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]