From: Denys Vlasenko Date: Fri, 8 Jul 2011 06:37:57 +0000 (+0200) Subject: usleep: do not check for usleep error, it should never fail X-Git-Tag: 1_19_0~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=acff3733bae6a9928d0109d5e4f93c32e82969d8;p=oweals%2Fbusybox.git usleep: do not check for usleep error, it should never fail Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/usleep.c b/coreutils/usleep.c index 67f94f798..2e4eb5721 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c @@ -29,9 +29,7 @@ int usleep_main(int argc UNUSED_PARAM, char **argv) bb_show_usage(); } - if (usleep(xatou(argv[1]))) { - bb_perror_nomsg_and_die(); - } + usleep(xatou(argv[1])); return EXIT_SUCCESS; }