summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/unistd.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 23:27:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 23:27:45 +0000
commit5e7b6272fc10068c22bfedb18a26a23a37e9a7ff (patch)
tree16be850e6b7abcabe3b503f7c3669ddcef0b0805 /c/src/exec/posix/src/unistd.c
parentadded checks to validate values passed to set attribute routines (diff)
downloadrtems-5e7b6272fc10068c22bfedb18a26a23a37e9a7ff.tar.bz2
renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the Watchdog
Handler could timestamp the starting and stopping of timers. Since TOD is built on top of Watchdog, this avoided a circular dependency.
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