projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6ce09
)
usleep: do not check for usleep error, it should never fail
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 8 Jul 2011 06:37:57 +0000
(08:37 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 8 Jul 2011 06:37:57 +0000
(08:37 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/usleep.c
patch
|
blob
|
history
diff --git
a/coreutils/usleep.c
b/coreutils/usleep.c
index 67f94f798040c085e67eabfc5e7aaa07a137b64b..2e4eb57211d29815e22eb8af7bef10a0024ad57d 100644
(file)
--- 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;
}