From 2f7e9453c0d2c2a1816c9a466c30616f4706f92c Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 17 Sep 2026 04:26:49 +0000 Subject: [PATCH] 2026-09-17 04:26:49 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 a736f7667c..662061aaba 100644 --- a/src/common/error.cpp +++ b/src/common/error.cpp @@ -20,7 +20,7 @@ namespace Common { // glibc, mlibc, musl, and newlib all define their own variants of strerror_r // We don't need to use the preprocessor, we can just select depending on return type template std::string HandleStrerrorR(T r, char *err_str); -template std::string HandleStrerrorR(const char* r, char *) { return std::string{r}; } +template std::string HandleStrerrorR(char* r, char *) { return std::string{r}; } template std::string HandleStrerrorR(const char* r, char *) { return std::string{r}; } template std::string HandleStrerrorR(int r, char *err_str) { return std::string{r != 0