svn commit: r308357 - stable/11/usr.bin/mkcsmapper
Baptiste Daroussin
bapt at FreeBSD.org
Sun Nov 6 00:35:44 UTC 2016
Author: bapt
Date: Sun Nov 6 00:35:43 2016
New Revision: 308357
URL: https://svnweb.freebsd.org/changeset/base/308357
Log:
MFC: r302481
Revert the change from errx/strerror to errc to appease gcc 4.2
I have forgotten this part in r307794
Reported by: lidl
Modified:
stable/11/usr.bin/mkcsmapper/yacc.y
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.bin/mkcsmapper/yacc.y
==============================================================================
--- stable/11/usr.bin/mkcsmapper/yacc.y Sat Nov 5 23:21:30 2016 (r308356)
+++ stable/11/usr.bin/mkcsmapper/yacc.y Sun Nov 6 00:35:43 2016 (r308357)
@@ -664,7 +664,7 @@ do_mkpv(FILE *in)
if (ret && output)
unlink(output); /* dump failure */
if (ret)
- errc(EXIT_FAILURE, ret, "");
+ errx(EXIT_FAILURE, "%s\n", strerror(ret));
}
static void
More information about the svn-src-stable-11
mailing list