aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkcsmapper
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkcsmapper')
-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 97aade1ff5b81..89ce5fd698907 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