From cbcdbc41ffab413767569891b58526b4d1066627 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Jul 2004 17:48:21 +0000 Subject: Fix incorrect arguments being passed to mknod --- miscutils/makedevs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 28b3f499a..54a2e000a 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; -- cgit v1.2.3