summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sleep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sleep.c b/src/sleep.c
index a96b80c00..c40a6321f 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -257,6 +257,8 @@ main (int argc, char **argv)
tv_stop.tv_sec = tv_start.tv_sec + i_sec;
tv_stop.tv_usec = tv_start.tv_usec + i_usec;
+ /* FIXME: use nanosleep!!! then move signal handling into the replacement. */
+
while (1)
{
struct timeval diff;