From: Eric Biggers Date: Sat, 24 Nov 2012 19:32:45 +0000 (-0600) Subject: wimapply.c: Fix extract flags X-Git-Tag: v1.2.1~63 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=b7cc230c1101c47335d45fbd71cd97ea96bd5ee3 wimapply.c: Fix extract flags --- diff --git a/programs/wimapply.c b/programs/wimapply.c index 1271d332..8de4a54d 100644 --- a/programs/wimapply.c +++ b/programs/wimapply.c @@ -17,7 +17,7 @@ * ../src/*.c -I/usr/include/libxml2 -I.. -D_FILE_OFFSET_BITS=64 \ * -D_GNU_SOURCE -std=gnu99 -lxml2 -lcrypto -lpthread -lntfs-3g * $ stat -c %s wimapply - * 48592 + * 48880 * * Compare this to: * $ stat -c %s /usr/lib/libwim.so.1.0.0 @@ -75,8 +75,7 @@ int main(int argc, char **argv) return ret; } - ret = wimlib_extract_image(w, image, target, - WIMLIB_EXTRACT_FLAG_SEQUENTIAL, + ret = wimlib_extract_image(w, image, target, extract_flags, NULL, 0, NULL); if (ret != 0) { fputs("Failed to apply WIM image\n", stderr);