aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb/mknod.c')
-rw-r--r--toys/lsb/mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/mknod.c b/toys/lsb/mknod.c
index 39073fad..1a467b01 100644
--- a/toys/lsb/mknod.c
+++ b/toys/lsb/mknod.c
@@ -54,5 +54,5 @@ void mknod_main(void)
if (-1 == lsm_set_create(TT.arg_context))
perror_exit("-Z '%s' failed", TT.arg_context);
if (mknod(*toys.optargs, mode|modes[type], makedev(major, minor)))
- perror_exit("%s", *toys.optargs);
+ perror_exit_raw(*toys.optargs);
}