summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-11-06 00:35:43 +0000
committerbapt <bapt@FreeBSD.org>2016-11-06 00:35:43 +0000
commitf36185a6d4f24b4fed8da8b8fdde4950e7378513 (patch)
treeb38390a11786456c72b88db0a8e253319326d5ca /usr.bin
parent6bc6daf4b9bc29a7483c5c3bb36e06e735d308f8 (diff)
downloadFreeBSD-src-f36185a6d4f24b4fed8da8b8fdde4950e7378513.zip
FreeBSD-src-f36185a6d4f24b4fed8da8b8fdde4950e7378513.tar.gz
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mkcsmapper/yacc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkcsmapper/yacc.y b/usr.bin/mkcsmapper/yacc.y
index 97aade1..89ce5fd 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
OpenPOWER on IntegriCloud