aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/mkfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/mkfifo.c')
-rw-r--r--toys/posix/mkfifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/mkfifo.c b/toys/posix/mkfifo.c
index 7bc43cce..9aa3a3ae 100644
--- a/toys/posix/mkfifo.c
+++ b/toys/posix/mkfifo.c
@@ -43,7 +43,7 @@ void mkfifo_main(void)
if (CFG_MKFIFO_Z && (toys.optflags&FLAG_Z))
if (0>lsm_set_create(TT.Z))
- error_exit("bad -Z '%s'", TT.Z);
+ perror_exit("-Z '%s' failed", TT.Z);
for (s = toys.optargs; *s; s++)
if (mknod(*s, S_IFIFO | TT.mode, 0) < 0) perror_msg("%s", *s);