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:
8320b42
)
Fix 'thinko'.
author
Manuel Novoa III
<mjn3@codepoet.org>
Thu, 3 Apr 2003 19:29:11 +0000
(19:29 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Thu, 3 Apr 2003 19:29:11 +0000
(19:29 -0000)
coreutils/mknod.c
patch
|
blob
|
history
diff --git
a/coreutils/mknod.c
b/coreutils/mknod.c
index 59294e9cbb156e36c2ab5adc67c75622049056d4..d5e9e17fed1122e391d4a353c8257f11f33be990 100644
(file)
--- a/
coreutils/mknod.c
+++ b/
coreutils/mknod.c
@@
-46,7
+46,7
@@
extern int mknod_main(int argc, char **argv)
mode |= modes_cubp[(int)(name[4])];
dev = 0;
- if ((*name != 'p') && ((argc -= 2) ==
0
)) {
+ if ((*name != 'p') && ((argc -= 2) ==
2
)) {
dev = (bb_xgetularg10_bnd(argv[2], 0, 255) << 8)
+ bb_xgetularg10_bnd(argv[3], 0, 255);
}