From 1b22c05ae886ead7e4ae2e1621e3d53355bf2059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 29 May 2005 11:33:45 +0000 Subject: [PATCH] Fixed warning I introduced before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12887 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- 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 eb2144d8f5..b5f18a145f 100644 --- a/src/system/libroot/posix/string/strerror.c +++ b/src/system/libroot/posix/string/strerror.c @@ -482,7 +482,7 @@ strerror(int error) } sprintf(unknown, "Unknown %sError (%d)", system, error); } else - sprintf(unknown, "No Error (%ld)", error); + sprintf(unknown, "No Error (%d)", error); return unknown; }