X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fjoin.c;h=b6bf6ebd78d22d598d3e6e536cab2dbe706f7386;hb=4f8059f2d0a74a9922128b162d9c9343b305999c;hp=1de8b76bb1b24e666f608fa912852f6ffd625e9e;hpb=f9695b9f40035f1a20968293255761a8301eaba0;p=wimlib diff --git a/src/join.c b/src/join.c index 1de8b76b..b6bf6ebd 100644 --- a/src/join.c +++ b/src/join.c @@ -127,7 +127,7 @@ join_wims(WIMStruct **swms, unsigned num_swms, ret = for_lookup_table_entry_pos_sorted(swms[i]->lookup_table, copy_resource, swms[i]); - swms[i]->out_fd = INVALID_FILEDES; + swms[i]->out_fd = -1; if (i != 0) close_wim(swms[i]);