From 0833e924c6a60befbb326e0fa3cb65e910fa5361 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 9 Jul 2016 06:52:55 +0000 Subject: [PATCH] Revert the change from errx/strerror to errc to appease gcc 4.2 --- usr.bin/mkcsmapper/yacc.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/mkcsmapper/yacc.y b/usr.bin/mkcsmapper/yacc.y index 97aade1ff5b..89ce5fd6989 100644 --- a/usr.bin/mkcsmapper/yacc.y +++ b/usr.bin/mkcsmapper/yacc.y @@ -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