Author: bapt
Date: Sat Jul 9 06:52:55 2016
New Revision: 302481
URL: https://svnweb.freebsd.org/changeset/base/302481
Log:
Revert the change from errx/strerror to errc to appease gcc 4.2
Modified:
head/usr.bin/mkcsmapper/yacc.y
Modified: head/usr.bin/mkcsmapper/yacc.y
==============================================================================
--- head/usr.bin/mkcsmapper/yacc.y Sat Jul 9 04:56:28 2016
(r302480)
+++ head/usr.bin/mkcsmapper/yacc.y Sat Jul 9 06:52:55 2016
(r302481)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"