summaryrefslogtreecommitdiff
path: root/miscutils/mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r--miscutils/mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 586373d..8df2b75 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -106,7 +106,7 @@ int mt_main(int argc UNUSED_PARAM, char **argv)
op.mt_op = opcode_value[idx];
if (argv[2])
- op.mt_count = xatoi_u(argv[2]);
+ op.mt_count = xatoi_positive(argv[2]);
else
op.mt_count = 1; /* One, not zero, right? */