From 311a17259ee0810bdb91e8d145e9286dddae899b Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 28 Dec 2018 16:08:49 +0000 Subject: [PATCH] Fix WITHOUT_NLS build after r342551. Reported by: gj MFC after: 13 days Sponsored by: The FreeBSD Foundation --- lib/libc/string/strerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c index be3732d5b9e..7cd984ea48f 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$"); * statically linked binaries. */ static void -errstr(int num, char *uprefix, char *buf, size_t len) +errstr(int num, const char *uprefix, char *buf, size_t len) { char *t; unsigned int uerr;