OSDN Git Service

- whitespace fixes
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 16:42:23 +0000 (16:42 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 16:42:23 +0000 (16:42 -0000)
libc/unistd/sleep.c

index c5c9cdd..435d105 100644 (file)
@@ -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);