[BusyBox-cvs] busybox/coreutils mknod.c,1.24,1.25
Manuel Novoa III
mjn3 at busybox.net
Thu Apr 3 19:29:15 UTC 2003
Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv16958
Modified Files:
mknod.c
Log Message:
Fix 'thinko'.
Index: mknod.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/mknod.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- mknod.c 19 Mar 2003 09:11:33 -0000 1.24
+++ mknod.c 3 Apr 2003 19:29:11 -0000 1.25
@@ -46,7 +46,7 @@
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);
}
More information about the busybox-cvs
mailing list