From ef4edd92f933f235a4ca106491168f317c764ab8 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 6 May 2015 20:25:17 -0500 Subject: [PATCH] win32_common.c: Missed place where winnt_error() can be used --- src/win32_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/win32_common.c b/src/win32_common.c index 6d75c47e..bc75686e 100644 --- a/src/win32_common.c +++ b/src/win32_common.c @@ -350,8 +350,7 @@ win32_path_to_nt_path(const wchar_t *win32_path, UNICODE_STRING *nt_path) if (status == STATUS_NO_MEMORY) return WIMLIB_ERR_NOMEM; - ERROR("\"%ls\": invalid path name (status=0x%08"PRIx32")", - win32_path, (u32)status); + winnt_error(status, L"\"%ls\": invalid path name", win32_path); return WIMLIB_ERR_INVALID_PARAM; } -- 2.43.0