summaryrefslogtreecommitdiff
path: root/procps/iostat.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-08-12 14:14:45 +0200
committerDenys Vlasenko2010-08-12 14:14:45 +0200
commit7783248eaac715b813f0635b06cc140ea99bb4d9 (patch)
treeb7c3acbdf7e45afdb31a721a693f0a8a65f80730 /procps/iostat.c
parent7bfbbd434a6f435b0287cd25406927c630b03f68 (diff)
downloadbusybox-7783248eaac715b813f0635b06cc140ea99bb4d9.zip
busybox-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz
*: 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 'procps/iostat.c')
-rw-r--r--procps/iostat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/iostat.c b/procps/iostat.c
index 573419e..8641c23 100644
--- a/procps/iostat.c
+++ b/procps/iostat.c
@@ -539,12 +539,12 @@ int iostat_main(int argc, char **argv)
if (*argv) {
/* Get interval */
- interval = xatoi_u(*argv);
+ interval = xatoi_positive(*argv);
count = interval ? -1 : 1;
argv++;
if (*argv)
/* Get count value */
- count = xatoi_u(*argv);
+ count = xatoi_positive(*argv);
}
/* Allocate space for device stats */