svn commit: r342574 - head/lib/libc/string

Konstantin Belousov kib at FreeBSD.org
Fri Dec 28 16:08:51 UTC 2018


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;


More information about the svn-src-head mailing list