summaryrefslogtreecommitdiff
path: root/coreutils/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/mknod.c')
-rw-r--r--coreutils/mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index d5e9e17..7b2467b 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -50,7 +50,7 @@ extern int mknod_main(int argc, char **argv)
dev = (bb_xgetularg10_bnd(argv[2], 0, 255) << 8)
+ bb_xgetularg10_bnd(argv[3], 0, 255);
}
-
+
if (argc == 2) {
name = *argv;
if (mknod(name, mode, dev) == 0) {