diff options
Diffstat (limited to 'toys/lsb/mknod.c')
-rw-r--r-- | toys/lsb/mknod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/mknod.c b/toys/lsb/mknod.c index 1a467b01..8148c857 100644 --- a/toys/lsb/mknod.c +++ b/toys/lsb/mknod.c @@ -53,6 +53,6 @@ void mknod_main(void) if (toys.optflags & FLAG_Z) 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))) + if (mknod(*toys.optargs, mode|modes[type], dev_makedev(major, minor))) perror_exit_raw(*toys.optargs); } |