projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to regularize atoi mess.
[oweals/busybox.git]
/
miscutils
/
mt.c
diff --git
a/miscutils/mt.c
b/miscutils/mt.c
index f4a3be739d3a4ca0c27e516a70f812c78ecc2e49..a2bb6be911057be45d71b4a7b7d4dd558f5e7689 100644
(file)
--- a/
miscutils/mt.c
+++ b/
miscutils/mt.c
@@
-84,7
+84,7
@@
int mt_main(int argc, char **argv)
op.mt_op = code->value;
if (argc >= 3)
- op.mt_count =
atoi
(argv[2]);
+ op.mt_count =
xatoi_u
(argv[2]);
else
op.mt_count = 1; /* One, not zero, right? */