]> wimlib.net Git - wimlib/blobdiff - src/resource.c
print_lookup_table_entry(): add FILE* parameter
[wimlib] / src / resource.c
index 3c0804b0d3a98c4f9f5e83b8afe21f8c90cf769b..e8f1114412b5940b07fe8db69caba304772eb6ae 100644 (file)
@@ -644,7 +644,7 @@ int extract_wim_resource(const struct wim_lookup_table_entry *lte,
                if (!hashes_equal(hash, lte->hash)) {
                #ifdef ENABLE_ERROR_MESSAGES
                        ERROR("Invalid checksum on the following WIM resource:");
                if (!hashes_equal(hash, lte->hash)) {
                #ifdef ENABLE_ERROR_MESSAGES
                        ERROR("Invalid checksum on the following WIM resource:");
-                       print_lookup_table_entry(lte);
+                       print_lookup_table_entry(lte, stderr);
                #endif
                        return WIMLIB_ERR_INVALID_RESOURCE_HASH;
                }
                #endif
                        return WIMLIB_ERR_INVALID_RESOURCE_HASH;
                }