X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32_capture.c;h=308c0677ccb90b02c0a3b6f7eb31a51e7bc9558a;hp=c7d2b20c637e2be12ac78672a67d733857eb5d4c;hb=b2e23462b6eee5d5702fcfa5247bbf57bb6474a0;hpb=6fc65fe3cf5bacfaadf03252c8a108c2d636ec12 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; }