From 7783248eaac715b813f0635b06cc140ea99bb4d9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 12 Aug 2010 14:14:45 +0200 Subject: *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i Signed-off-by: Denys Vlasenko --- e2fsprogs/fsck.c | 4 ++-- e2fsprogs/old_e2fsprogs/mke2fs.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'e2fsprogs') diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 7c449e3..d694bb1 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -972,13 +972,13 @@ int fsck_main(int argc UNUSED_PARAM, char **argv) case 'C': progress = 1; if (arg[++j]) { /* -Cn */ - progress_fd = xatoi_u(&arg[j]); + progress_fd = xatoi_positive(&arg[j]); goto next_arg; } /* -C n */ if (!*++argv) bb_show_usage(); - progress_fd = xatoi_u(*argv); + progress_fd = xatoi_positive(*argv); goto next_arg; #endif case 'V': diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c index 5203645..f1e97b9 100644 --- a/e2fsprogs/old_e2fsprogs/mke2fs.c +++ b/e2fsprogs/old_e2fsprogs/mke2fs.c @@ -895,7 +895,7 @@ static int PRS(int argc, char **argv) creator_os = optarg; break; case 'r': - param.s_rev_level = xatoi_u(optarg); + param.s_rev_level = xatoi_positive(optarg); if (param.s_rev_level == EXT2_GOOD_OLD_REV) { param.s_feature_incompat = 0; param.s_feature_compat = 0; @@ -912,11 +912,11 @@ static int PRS(int argc, char **argv) break; #ifdef EXT2_DYNAMIC_REV case 'I': - inode_size = xatoi_u(optarg); + inode_size = xatoi_positive(optarg); break; #endif case 'N': - num_inodes = xatoi_u(optarg); + num_inodes = xatoi_positive(optarg); break; case 'v': quiet = 0; -- cgit v1.1