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 9fc3829e..942dfdc5 100644
--- a/toys/posix/mkfifo.c
+++ b/toys/posix/mkfifo.c
@@ -46,5 +46,5 @@ void mkfifo_main(void)
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);
+ if (mknod(*s, S_IFIFO | TT.mode, 0) < 0) perror_msg_raw(*s);
}