about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/tst-timer.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-03 19:13:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-03 19:13:38 +0000
commit271766771fba3c180c208424ff20aa5e5215bbbc (patch)
tree73ddc2d3e13095e4f10d52213ecae08ad6d5ab26 /nptl/sysdeps/pthread/tst-timer.c
parent7df11052ceabeb4d65b98eacd3557891e23c0be3 (diff)
downloadglibc-271766771fba3c180c208424ff20aa5e5215bbbc.tar.gz
glibc-271766771fba3c180c208424ff20aa5e5215bbbc.tar.xz
glibc-271766771fba3c180c208424ff20aa5e5215bbbc.zip
Update.
2003-11-03  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/pthread/tst-timer.c (main): Initialize
	sigev2.sigev_value as well.
Diffstat (limited to 'nptl/sysdeps/pthread/tst-timer.c')
-rw-r--r--nptl/sysdeps/pthread/tst-timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c
index 54d6b6ae93..f2577b75cd 100644
--- a/nptl/sysdeps/pthread/tst-timer.c
+++ b/nptl/sysdeps/pthread/tst-timer.c
@@ -84,6 +84,9 @@ main (void)
   sigev2.sigev_notify = SIGEV_THREAD;
   sigev2.sigev_notify_function = notify_func1;
   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;
 
   setvbuf (stdout, 0, _IOLBF, 0);