aboutsummaryrefslogtreecommitdiff
path: root/miscutils/makedevs.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r--miscutils/makedevs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index 4619e4dd5..e27634add 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -21,10 +21,10 @@ int makedevs_main(int argc, char **argv)
21 21
22 basedev = argv[1]; 22 basedev = argv[1];
23 type = argv[2]; 23 type = argv[2];
24 Smajor = atoi(argv[3]); 24 Smajor = xatoi_u(argv[3]);
25 Sminor = atoi(argv[4]); 25 Sminor = xatoi_u(argv[4]);
26 S = atoi(argv[5]); 26 S = xatoi_u(argv[5]);
27 E = atoi(argv[6]); 27 E = xatoi_u(argv[6]);
28 nodname = argc == 8 ? basedev : buf; 28 nodname = argc == 8 ? basedev : buf;
29 29
30 mode = 0660; 30 mode = 0660;