about summary refs log tree commit diff
path: root/db2/os/os_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'db2/os/os_sleep.c')
-rw-r--r--db2/os/os_sleep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/db2/os/os_sleep.c b/db2/os/os_sleep.c
index 2d2cb71f6d..6a5b91f5c4 100644
--- a/db2/os/os_sleep.c
+++ b/db2/os/os_sleep.c
@@ -1,14 +1,14 @@
 /*-
  * See the file LICENSE for redistribution information.
  *
- * Copyright (c) 1997
+ * Copyright (c) 1997, 1998
  *	Sleepycat Software.  All rights reserved.
  */
 
 #include "config.h"
 
 #ifndef lint
-static const char sccsid[] = "@(#)os_sleep.c	10.8 (Sleepycat) 10/25/97";
+static const char sccsid[] = "@(#)os_sleep.c	10.10 (Sleepycat) 4/27/98";
 #endif /* not lint */
 
 #ifndef NO_SYSTEM_INCLUDES
@@ -42,7 +42,8 @@ __os_sleep(secs, usecs)
 	struct timeval t;
 
 	/* Don't require that the values be normalized. */
-	for (; usecs >= 1000000; ++secs, usecs -= 1000000);
+	for (; usecs >= 1000000; ++secs, usecs -= 1000000)
+		;
 
 	/*
 	 * It's important that we yield the processor here so that other