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