projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b737b1a
)
Fix incorrect arguments being passed to mknod
author
Eric Andersen
<andersen@codepoet.org>
Fri, 30 Jul 2004 17:48:21 +0000
(17:48 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 30 Jul 2004 17:48:21 +0000
(17:48 -0000)
miscutils/makedevs.c
patch
|
blob
|
history
diff --git
a/miscutils/makedevs.c
b/miscutils/makedevs.c
index 28b3f499a9b6260223bd4556b8d1725da0794f06..54a2e000a94443e5f10a419c0c7577aa8b804691 100644
(file)
--- 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;