From 9f0fad2a3b83e38749b98639ff240609ef2a1bad Mon Sep 17 00:00:00 2001 From: dwilder Date: Fri, 12 Oct 2007 17:24:33 +0000 Subject: [PATCH] timers.c init tid to 0 to workaround s390x bug. --- testsuite/systemtap.syscall/ChangeLog | 3 +++ testsuite/systemtap.syscall/timer.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/systemtap.syscall/ChangeLog b/testsuite/systemtap.syscall/ChangeLog index 69d77c85e..1d234d3a7 100644 --- a/testsuite/systemtap.syscall/ChangeLog +++ b/testsuite/systemtap.syscall/ChangeLog @@ -1,3 +1,6 @@ +2007-10-12 David Wilder + * timer.c: init tid to 0 to workaround bug on s390x. + 2007-10-11 David Wilder * futimes.c: Only test system calls that have diff --git a/testsuite/systemtap.syscall/timer.c b/testsuite/systemtap.syscall/timer.c index c9553c825..f7b888ae6 100644 --- a/testsuite/systemtap.syscall/timer.c +++ b/testsuite/systemtap.syscall/timer.c @@ -9,7 +9,7 @@ int main() { - timer_t tid; + timer_t tid=0; struct itimerspec val, oval; syscall(SYS_timer_create, CLOCK_REALTIME, NULL, &tid); -- 2.43.5