From b2e23462b6eee5d5702fcfa5247bbf57bb6474a0 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 2 Sep 2013 09:03:50 -0500 Subject: [PATCH] win32_get_security_descriptor(): Use errno --- src/win32_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_capture.c b/src/win32_capture.c index c7d2b20c..308c0677 100644 --- a/src/win32_capture.c +++ b/src/win32_capture.c @@ -402,7 +402,7 @@ win32_get_security_descriptor(HANDLE hFile, default: fail: set_errno_from_win32_error(err); - ERROR("Failed to read security descriptor of \"%ls\"", path); + ERROR_WITH_ERRNO("Failed to read security descriptor of \"%ls\"", path); ret = WIMLIB_ERR_READ; goto out_free_buf; } -- 2.43.0