diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
commit | 7783248eaac715b813f0635b06cc140ea99bb4d9 (patch) | |
tree | b7c3acbdf7e45afdb31a721a693f0a8a65f80730 /e2fsprogs | |
parent | 7bfbbd434a6f435b0287cd25406927c630b03f68 (diff) | |
download | busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.bz2 busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.zip |
*: 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 'e2fsprogs')
-rw-r--r-- | e2fsprogs/fsck.c | 4 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/mke2fs.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 7c449e3e7..d694bb110 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -972,13 +972,13 @@ int fsck_main(int argc UNUSED_PARAM, char **argv) | |||
972 | case 'C': | 972 | case 'C': |
973 | progress = 1; | 973 | progress = 1; |
974 | if (arg[++j]) { /* -Cn */ | 974 | if (arg[++j]) { /* -Cn */ |
975 | progress_fd = xatoi_u(&arg[j]); | 975 | progress_fd = xatoi_positive(&arg[j]); |
976 | goto next_arg; | 976 | goto next_arg; |
977 | } | 977 | } |
978 | /* -C n */ | 978 | /* -C n */ |
979 | if (!*++argv) | 979 | if (!*++argv) |
980 | bb_show_usage(); | 980 | bb_show_usage(); |
981 | progress_fd = xatoi_u(*argv); | 981 | progress_fd = xatoi_positive(*argv); |
982 | goto next_arg; | 982 | goto next_arg; |
983 | #endif | 983 | #endif |
984 | case 'V': | 984 | case 'V': |
diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c index 520364550..f1e97b96a 100644 --- a/e2fsprogs/old_e2fsprogs/mke2fs.c +++ b/e2fsprogs/old_e2fsprogs/mke2fs.c | |||
@@ -895,7 +895,7 @@ static int PRS(int argc, char **argv) | |||
895 | creator_os = optarg; | 895 | creator_os = optarg; |
896 | break; | 896 | break; |
897 | case 'r': | 897 | case 'r': |
898 | param.s_rev_level = xatoi_u(optarg); | 898 | param.s_rev_level = xatoi_positive(optarg); |
899 | if (param.s_rev_level == EXT2_GOOD_OLD_REV) { | 899 | if (param.s_rev_level == EXT2_GOOD_OLD_REV) { |
900 | param.s_feature_incompat = 0; | 900 | param.s_feature_incompat = 0; |
901 | param.s_feature_compat = 0; | 901 | param.s_feature_compat = 0; |
@@ -912,11 +912,11 @@ static int PRS(int argc, char **argv) | |||
912 | break; | 912 | break; |
913 | #ifdef EXT2_DYNAMIC_REV | 913 | #ifdef EXT2_DYNAMIC_REV |
914 | case 'I': | 914 | case 'I': |
915 | inode_size = xatoi_u(optarg); | 915 | inode_size = xatoi_positive(optarg); |
916 | break; | 916 | break; |
917 | #endif | 917 | #endif |
918 | case 'N': | 918 | case 'N': |
919 | num_inodes = xatoi_u(optarg); | 919 | num_inodes = xatoi_positive(optarg); |
920 | break; | 920 | break; |
921 | case 'v': | 921 | case 'v': |
922 | quiet = 0; | 922 | quiet = 0; |