diff options
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r-- | miscutils/mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c index f4a3be739..a2bb6be91 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c | |||
@@ -84,7 +84,7 @@ int mt_main(int argc, char **argv) | |||
84 | 84 | ||
85 | op.mt_op = code->value; | 85 | op.mt_op = code->value; |
86 | if (argc >= 3) | 86 | if (argc >= 3) |
87 | op.mt_count = atoi(argv[2]); | 87 | op.mt_count = xatoi_u(argv[2]); |
88 | else | 88 | else |
89 | op.mt_count = 1; /* One, not zero, right? */ | 89 | op.mt_count = 1; /* One, not zero, right? */ |
90 | 90 | ||