X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Ferror.c;h=db2a107f1ec736ed73764263117214568e9b366b;hb=7a3c99e3ea8add3fe2eaca37cb53ba4c61500d28;hp=a6b2d3892dc55edaf26915d30cf48b5b46efc285;hpb=68ec77b4e0a128e4be0df0cba51ee45efe42a20b;p=wimlib diff --git a/src/error.c b/src/error.c index a6b2d389..db2a107f 100644 --- a/src/error.c +++ b/src/error.c @@ -42,6 +42,7 @@ #include "wimlib.h" #include "wimlib/error.h" +#include "wimlib/test_support.h" #include "wimlib/util.h" #include "wimlib/win32.h" @@ -263,7 +264,7 @@ static const tchar * const error_strings[] = { = T("The WIM was not captured such that it can be " "applied from a pipe"), [WIMLIB_ERR_NTFS_3G] - = T("NTFS-3g encountered an error (check errno)"), + = T("NTFS-3G encountered an error (check errno)"), [WIMLIB_ERR_OPEN] = T("Failed to open a file"), [WIMLIB_ERR_OPENDIR] @@ -346,6 +347,10 @@ static const tchar * const error_strings[] = { = T("A file being added to a WIM image was concurrently modified"), [WIMLIB_ERR_SNAPSHOT_FAILURE] = T("Unable to create a filesystem snapshot"), +#ifdef ENABLE_TEST_SUPPORT + [WIMLIB_ERR_IMAGES_ARE_DIFFERENT] + = T("A difference was detected between the two images being compared"), +#endif }; WIMLIBAPI const tchar *