Date: Fri, 28 Dec 2018 16:08:50 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r342574 - head/lib/libc/string Message-ID: <201812281608.wBSG8oHB039065@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Dec 28 16:08:49 2018 New Revision: 342574 URL: https://svnweb.freebsd.org/changeset/base/342574 Log: Fix WITHOUT_NLS build after r342551. Reported by: gj MFC after: 13 days Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/string/strerror.c Modified: head/lib/libc/string/strerror.c ============================================================================== --- head/lib/libc/string/strerror.c Fri Dec 28 15:11:22 2018 (r342573) +++ head/lib/libc/string/strerror.c Fri Dec 28 16:08:49 2018 (r342574) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812281608.wBSG8oHB039065>