From 4f33c88a51587681b7be1ae57cfbc43b627c6bc4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 30 Jul 2012 19:11:16 +0200 Subject: import updated compilers from sources --- sys/src/ape/lib/ap/stdio/strerror.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/src/ape/lib/ap/stdio') diff --git a/sys/src/ape/lib/ap/stdio/strerror.c b/sys/src/ape/lib/ap/stdio/strerror.c index 71685d906..300ee56ba 100644 --- a/sys/src/ape/lib/ap/stdio/strerror.c +++ b/sys/src/ape/lib/ap/stdio/strerror.c @@ -103,4 +103,5 @@ strerror_r(int n, char *buf, int len) { strncpy(buf, strerror(n), len); buf[len-1] = 0; + return buf; } -- cgit v1.2.3