From f46fddfced288242b66e0f0d425cc929591e6c17 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 11 Oct 2009 18:38:11 +0000 Subject: 2009-10-11 Joel Sherrill * psxtimer01/psxtimer.c: Actually pass the pointer we initialized. --- testsuites/psxtests/ChangeLog | 4 ++++ testsuites/psxtests/psxtimer01/psxtimer.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index a244ea1145..35ac5c9f24 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2009-10-11 Joel Sherrill + + * psxtimer01/psxtimer.c: Actually pass the pointer we initialized. + 2009-10-11 Joel Sherrill * psxtimer01/psxtimer.c: Make sure we have null and not-null as return 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); } -- cgit v1.2.3