aboutsummaryrefslogtreecommitdiff
path: root/miscutils/mt.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 13:36:48 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 13:36:48 +1000
commit6e55663080e33d1856d949d60e45b135f2613087 (patch)
tree7318387028176038ca96344831febb30a582d661 /miscutils/mt.c
parentc6933c626b97c3f6bc446586ee2e6c7d9930c938 (diff)
parentdcaed97e0f44d0cd285fb590ec6ec80d0d73e738 (diff)
downloadbusybox-w32-6e55663080e33d1856d949d60e45b135f2613087.tar.gz
busybox-w32-6e55663080e33d1856d949d60e45b135f2613087.tar.bz2
busybox-w32-6e55663080e33d1856d949d60e45b135f2613087.zip
Merge branch 'origin/master' (early part)
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 586373d13..8df2b75f7 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -106,7 +106,7 @@ int mt_main(int argc UNUSED_PARAM, char **argv)
106 106
107 op.mt_op = opcode_value[idx]; 107 op.mt_op = opcode_value[idx];
108 if (argv[2]) 108 if (argv[2])
109 op.mt_count = xatoi_u(argv[2]); 109 op.mt_count = xatoi_positive(argv[2]);
110 else 110 else
111 op.mt_count = 1; /* One, not zero, right? */ 111 op.mt_count = 1; /* One, not zero, right? */
112 112