[klibc] [PATCH 1/5] sleep: have argument on next line

maximilian attems max at stro.at
Thu Jul 7 06:23:59 PDT 2011


fixes:
ERROR: trailing statements should be on next line

Signed-off-by: maximilian attems <max at stro.at>
---
 usr/utils/sleep.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/usr/utils/sleep.c b/usr/utils/sleep.c
index 62b2238..991cdbe 100644
--- a/usr/utils/sleep.c
+++ b/usr/utils/sleep.c
@@ -15,7 +15,8 @@ int main(int argc, char *argv[])
 	if (*p)
 		goto err;
 
-	while (nanosleep(&ts, &ts) == -1 && errno == EINTR) ;
+	while (nanosleep(&ts, &ts) == -1 && errno == EINTR)
+		;
 
 	return 0;
 
-- 
1.7.5.4



More information about the klibc mailing list