summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/unistd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/src/unistd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/unistd.c b/c/src/exec/posix/src/unistd.c
index 44d08e592b..5ef66ada7f 100644
--- a/c/src/exec/posix/src/unistd.c
+++ b/c/src/exec/posix/src/unistd.c
@@ -25,7 +25,7 @@ unsigned int sleep(
nanosleep( &tp, &tm );
- return tm->tv_sec; /* seconds remaining */
+ return tm.tv_sec; /* seconds remaining */
}
/*
* 4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 95