about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/tst-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/pthread/tst-timer.c')
-rw-r--r--nptl/sysdeps/pthread/tst-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c
index f2577b75cd..f19fe364ba 100644
--- a/nptl/sysdeps/pthread/tst-timer.c
+++ b/nptl/sysdeps/pthread/tst-timer.c
@@ -86,7 +86,7 @@ main (void)
   sigev2.sigev_notify_attributes = NULL;
   /* It is unnecessary to do the following but to set a good example
      we do it anyhow.  */
-  sigev2.sigev_value = 0;
+  sigev2.sigev_value.sival_ptr = NULL;
 
   setvbuf (stdout, 0, _IOLBF, 0);