[BusyBox-cvs] CVS update of busybox/miscutils (makedevs.c)
Erik Andersen
andersen at codepoet.org
Fri Jul 30 17:48:22 UTC 2004
Date: Friday, July 30, 2004 @ 11:48:22
Author: andersen
Path: /var/cvs/busybox/miscutils
Modified: makedevs.c (1.20 -> 1.21)
Fix incorrect arguments being passed to mknod
Index: busybox/miscutils/makedevs.c
diff -u busybox/miscutils/makedevs.c:1.20 busybox/miscutils/makedevs.c:1.21
--- busybox/miscutils/makedevs.c:1.20 Fri Jul 30 08:36:37 2004
+++ busybox/miscutils/makedevs.c Fri Jul 30 11:48:21 2004
@@ -27,8 +27,8 @@
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;
More information about the busybox-cvs
mailing list