]> wimlib.net Git - wimlib/blobdiff - src/write.c
Do not capture directory hard links
[wimlib] / src / write.c
index 131125fa5881ac6500e6bd9a2a6e6cd47accef9c..4e59b851ae2a17aafc04799eecfe4b02c7d11fc1 100644 (file)
@@ -259,7 +259,7 @@ static int prepare_resource_for_read(struct wim_lookup_table_entry *lte
 {
        switch (lte->resource_location) {
        case RESOURCE_IN_FILE_ON_DISK:
-               if (!lte->file_on_disk_fp) {
+               if (!lte->file_on_disk_fp) {
                        lte->file_on_disk_fp = fopen(lte->file_on_disk, "rb");
                        if (!lte->file_on_disk_fp) {
                                ERROR_WITH_ERRNO("Failed to open the file "