X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=coreutils%2Fusleep.c;h=6023bf430db3f05cb339bcefebcf3ebf010e9afd;hb=a6ce670a87ee77ccb9337ed6d87442134e1a48ed;hp=dcb40d65a2d7e22eac288bb75d1d1abbf350cdac;hpb=cbb0a4b40d32a653957d2c9ecb6fe1a70b30d907;p=oweals%2Fbusybox.git diff --git a/coreutils/usleep.c b/coreutils/usleep.c index dcb40d65a..6023bf430 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c @@ -21,18 +21,18 @@ * */ -#include "internal.h" +/* getopt not needed */ + #include #include - -const char usleep_usage[] = "usleep N\n\n" "Pause for N microseconds.\n"; +#include "busybox.h" extern int usleep_main(int argc, char **argv) { if ((argc < 2) || (**(argv + 1) == '-')) { - usage(usleep_usage); + show_usage(); } usleep(atoi(*(++argv))); /* return void */ - exit(TRUE); + return EXIT_SUCCESS; }