aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logger.h b/api/logger.h
index 7991996..6611528 100644
--- a/api/logger.h
+++ b/api/logger.h
@@ -27,7 +27,7 @@ static inline _Post_equals_last_error_ DWORD
LoggerLastError(_In_z_ const WCHAR *Function, _In_z_ const WCHAR *Prefix)
{
DWORD LastError = GetLastError();
- LoggerError(Prefix, Function, LastError);
+ LoggerError(Function, Prefix, LastError);
SetLastError(LastError);
return LastError;
}