From 7b9210648fe47d9479589db412dc0be46413f9a3 Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 17 Sep 2026 00:59:25 +0000 Subject: [PATCH] 2026-09-17 00:59:25 Signed-off-by: lizzie --- src/common/error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/error.cpp b/src/common/error.cpp index 53f9c642b4..8cc56d0a41 100644 --- a/src/common/error.cpp +++ b/src/common/error.cpp @@ -44,7 +44,7 @@ std::string NativeErrorToString(int e) { return "(FormatMessageA failed to format error)"; #else char err_str[255]; - return HandleStrerrorR(strerror_r(e, err_str, sizeof(err_str)), e, err_str, sizeof(err_str)); + return HandleStrerrorR(strerror_r(e, err_str, sizeof(err_str)), err_str); #endif // _WIN32 }