diff options
author | bapt <bapt@FreeBSD.org> | 2016-11-06 00:35:43 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-11-06 00:35:43 +0000 |
commit | f36185a6d4f24b4fed8da8b8fdde4950e7378513 (patch) | |
tree | b38390a11786456c72b88db0a8e253319326d5ca /usr.bin | |
parent | 6bc6daf4b9bc29a7483c5c3bb36e06e735d308f8 (diff) | |
download | FreeBSD-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.y | 2 |
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 |