*: 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>
This commit is contained in:
@@ -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':
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user