]> wimlib.net Git - wimlib/blobdiff - src/error.c
Do not use read() and write() from MSVCRT
[wimlib] / src / error.c
index a6b2d3892dc55edaf26915d30cf48b5b46efc285..db2a107f1ec736ed73764263117214568e9b366b 100644 (file)
@@ -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 *