summaryrefslogtreecommitdiffhomepage
path: root/miscutils/makedevs.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-12 14:14:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-12 14:14:45 +0200
commit7783248eaac715b813f0635b06cc140ea99bb4d9 (patch)
treeb7c3acbdf7e45afdb31a721a693f0a8a65f80730 /miscutils/makedevs.c
parent7bfbbd434a6f435b0287cd25406927c630b03f68 (diff)
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 abf505770..0578d9251 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -36,10 +36,10 @@ int makedevs_main(int argc, char **argv)
basedev = argv[1];
buf = xasprintf("%s%u", argv[1], (unsigned)-1);
type = argv[2];
- Smajor = xatoi_u(argv[3]);
- Sminor = xatoi_u(argv[4]);
- S = xatoi_u(argv[5]);
- E = xatoi_u(argv[6]);
+ Smajor = xatoi_positive(argv[3]);
+ Sminor = xatoi_positive(argv[4]);
+ S = xatoi_positive(argv[5]);
+ E = xatoi_positive(argv[6]);
nodname = argv[7] ? basedev : buf;
mode = 0660;