diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/makedevs.c | 4 |
1 files 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) | |||
| 27 | 27 | ||
| 28 | basedev = argv[1]; | 28 | basedev = argv[1]; |
| 29 | type = argv[2]; | 29 | type = argv[2]; |
| 30 | Smajor = major(atoi(argv[3])); | 30 | Smajor = atoi(argv[3]); |
| 31 | Sminor = minor(atoi(argv[4])); | 31 | Sminor = atoi(argv[4]); |
| 32 | S = atoi(argv[5]); | 32 | S = atoi(argv[5]); |
| 33 | E = atoi(argv[6]); | 33 | E = atoi(argv[6]); |
| 34 | nodname = argc == 8 ? basedev : buf; | 34 | nodname = argc == 8 ? basedev : buf; |
