summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorEric Andersen2004-07-30 17:48:21 +0000
committerEric Andersen2004-07-30 17:48:21 +0000
commitcbcdbc41ffab413767569891b58526b4d1066627 (patch)
tree3ec15a5c233c4100db5a047f05e028b0f9577312 /miscutils
parentb737b1a68bf8ab002bb314375ff33c651ee9cdaa (diff)
downloadbusybox-cbcdbc41ffab413767569891b58526b4d1066627.zip
busybox-cbcdbc41ffab413767569891b58526b4d1066627.tar.gz
Fix incorrect arguments being passed to mknod
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/makedevs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index 28b3f49..54a2e00 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -27,8 +27,8 @@ int makedevs_main(int argc, char **argv)
basedev = argv[1];
type = argv[2];
- Smajor = major(atoi(argv[3]));
- Sminor = minor(atoi(argv[4]));
+ Smajor = atoi(argv[3]);
+ Sminor = atoi(argv[4]);
S = atoi(argv[5]);
E = atoi(argv[6]);
nodname = argc == 8 ? basedev : buf;