attempt to regularize atoi mess.
[oweals/busybox.git] / coreutils / usleep.c
index 90ddc5a576bae3130b6a2dbe33eb56a912756994..de473a7b2ae0aae9529b08a3c3f6e387a12abae0 100644 (file)
@@ -20,7 +20,7 @@ int usleep_main(int argc, char **argv)
                bb_show_usage();
        }
 
-       if (usleep(bb_xgetularg10_bnd(argv[1], 0, UINT_MAX))) {
+       if (usleep(xatou(argv[1]))) {
                bb_perror_nomsg_and_die();
        }