summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtimer01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-11 18:38:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-11 18:38:11 +0000
commitf46fddfced288242b66e0f0d425cc929591e6c17 (patch)
treeacc00762547792c1ac5474f399a8f6c38688bdf1 /testsuites/psxtests/psxtimer01
parent2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-f46fddfced288242b66e0f0d425cc929591e6c17.tar.bz2
2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtimer01/psxtimer.c: Actually pass the pointer we initialized.
Diffstat (limited to 'testsuites/psxtests/psxtimer01')
-rw-r--r--testsuites/psxtests/psxtimer01/psxtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxtimer01/psxtimer.c b/testsuites/psxtests/psxtimer01/psxtimer.c
index ed237ebbaa..52d3b4d0cc 100644
--- a/testsuites/psxtests/psxtimer01/psxtimer.c
+++ b/testsuites/psxtests/psxtimer01/psxtimer.c
@@ -76,7 +76,7 @@ void StopTimer(
timerdata->it_value.tv_sec = 0;
timerdata->it_value.tv_nsec = 0;
- if (timer_settime(timer_id,POSIX_TIMER_RELATIVE,timerdata,NULL) == -1) {
+ if (timer_settime(timer_id,POSIX_TIMER_RELATIVE,timerdata,pOld) == -1) {
perror ("Error in timer setting\n");
rtems_test_exit(0);
}