aboutsummaryrefslogtreecommitdiff
path: root/coreutils/usleep.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 12:49:22 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 12:49:22 +0000
commit87d25a2b8535dc627a02eb539fa3946be2a24647 (patch)
treefc4d14a910593d1235318bb36abe5e9f72d2039e /coreutils/usleep.c
parent81177b14907e73f11560f69e0b4ec34371f1a7d5 (diff)
downloadbusybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.tar.gz
busybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.tar.bz2
busybox-w32-87d25a2b8535dc627a02eb539fa3946be2a24647.zip
attempt to regularize atoi mess.
git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/usleep.c')
-rw-r--r--coreutils/usleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/usleep.c b/coreutils/usleep.c
index 90ddc5a57..de473a7b2 100644
--- a/coreutils/usleep.c
+++ b/coreutils/usleep.c
@@ -20,7 +20,7 @@ int usleep_main(int argc, char **argv)
20 bb_show_usage(); 20 bb_show_usage();
21 } 21 }
22 22
23 if (usleep(bb_xgetularg10_bnd(argv[1], 0, UINT_MAX))) { 23 if (usleep(xatou(argv[1]))) {
24 bb_perror_nomsg_and_die(); 24 bb_perror_nomsg_and_die();
25 } 25 }
26 26