From 1286732b50846a3bd4ebde0903e446683503bec3 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 11 Mar 2016 21:35:24 -0600 Subject: [PATCH] win32_apply.c: correct return value of adjust_compression_attribute --- src/win32_apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0