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 d6cd65ce..39073fad 100644
--- a/toys/lsb/mknod.c
+++ b/toys/lsb/mknod.c
@@ -52,7 +52,7 @@ void mknod_main(void)
if (toys.optflags & FLAG_Z)
if (-1 == lsm_set_create(TT.arg_context))
- error_exit("bad -Z '%s'", 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);
}