summaryrefslogtreecommitdiff
path: root/lib/libc/string/strerror.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-12-28 16:08:49 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-12-28 16:08:49 +0000
commit311a17259ee0810bdb91e8d145e9286dddae899b (patch)
treee0c8d481e99ed92a111c9781d1b040656c1249db /lib/libc/string/strerror.c
parent488ded916805909989969846668bfca7706ce2b2 (diff)
Notes
Diffstat (limited to 'lib/libc/string/strerror.c')
-rw-r--r--lib/libc/string/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c
index be3732d5b9e3..7cd984ea48ff 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;