From a3362429d375821acf93311cefc4118dc3639021 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 12 Oct 2022 12:01:18 +0200 Subject: [PATCH] libc: Update strerror() --- libs/libc/src/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/src/string.cpp b/libs/libc/src/string.cpp index ca2e5da1..ef4334ca 100644 --- a/libs/libc/src/string.cpp +++ b/libs/libc/src/string.cpp @@ -121,7 +121,7 @@ extern "C" { case EPERM: return "Operation not permitted"; case EINVAL: return "Invalid argument"; - case ENOMEM: return "Out of memory"; + case ENOMEM: return "Cannot allocate memory"; case ENOSYS: return "Function not implemented"; case ENOENT: return "No such file or directory"; case EBADF: return "Bad file descriptor";