From: Eric Biggers Date: Sat, 12 Mar 2016 03:35:24 +0000 (-0600) Subject: win32_apply.c: correct return value of adjust_compression_attribute X-Git-Tag: v1.9.1~2 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=1286732b50846a3bd4ebde0903e446683503bec3 win32_apply.c: correct return value of adjust_compression_attribute --- diff --git a/src/win32_apply.c b/src/win32_apply.c index ef5b9014..6f9e41b9 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -1129,7 +1129,7 @@ adjust_compression_attribute(HANDLE h, const struct wim_dentry *dentry, status = winnt_fsctl(h, FSCTL_SET_COMPRESSION, &compression_state, sizeof(USHORT), NULL, 0, NULL); if (NT_SUCCESS(status)) - return status; + return 0; winnt_error(status, L"Can't %s compression attribute on \"%ls\"", (compressed ? "set" : "clear"), current_path(ctx));