diff options
Diffstat (limited to 'procps/iostat.c')
-rw-r--r-- | procps/iostat.c | 4 |
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 */ |