summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 16:42:23 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 16:42:23 +0000
commite2bccada4046449a2e5668eccf9651d87aa1492d (patch)
tree6c0d7f6dac8aed0793ea429271ef82a332dcccf2
parent21c8ad82003f4e8b74d53e6ac4ca2b20c699be63 (diff)
- whitespace fixes
-rw-r--r--libc/unistd/sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index c5c9cdd21..435d105c5 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -145,12 +145,12 @@ unsigned int sleep (unsigned int seconds)
act.sa_flags = 0;
act.sa_mask = oset;
if (sigaction(SIGALRM, &act, &oact) < 0)
- return seconds;
+ return seconds;
before = time(NULL);
remaining = alarm(seconds);
if (remaining && remaining > seconds) {
- /* restore user's alarm */
+ /* restore user's alarm */
(void) sigaction(SIGALRM, &oact, (struct sigaction *) NULL);
alarm(remaining); /* restore old alarm */
sigsuspend(&oset);