From f916b680799e1b795a068de62dced124ca282864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 27 Sep 2012 16:42:40 +0200 Subject: [PATCH] B_POSIX_ENOMEM is obviously an error... * was wrongly reported as "No error" --- src/system/libroot/posix/string/strerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/posix/string/strerror.c b/src/system/libroot/posix/string/strerror.c index fbb95efa46..fb4fb977ac 100644 --- a/src/system/libroot/posix/string/strerror.c +++ b/src/system/libroot/posix/string/strerror.c @@ -42,12 +42,12 @@ error_description(int error) // General Errors case B_NO_ERROR: - case B_POSIX_ENOMEM: return "No error"; case B_ERROR: return "General system error"; case B_NO_MEMORY: + case B_POSIX_ENOMEM: // ENOMEM return "Out of memory"; case B_IO_ERROR: