diff options
| -rw-r--r-- | libc/unistd/sleep.c | 4 | 
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); | 
