about summary refs log tree commit diff
path: root/rt/tst-timer2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:30:38 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:30:38 -0800
commitf50ad78b919d7c6302e16d56f63c356abf5637b5 (patch)
treee29ed09b74bbe755b6d6081ca0c4e0d8380f242d /rt/tst-timer2.c
parent9e7265f4e58e563a1b0c9564f9eb5014ab333c37 (diff)
downloadglibc-f50ad78b919d7c6302e16d56f63c356abf5637b5.tar.gz
glibc-f50ad78b919d7c6302e16d56f63c356abf5637b5.tar.xz
glibc-f50ad78b919d7c6302e16d56f63c356abf5637b5.zip
Don't set unused field in rt/tst-timer2.
Diffstat (limited to 'rt/tst-timer2.c')
-rw-r--r--rt/tst-timer2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/tst-timer2.c b/rt/tst-timer2.c
index 60026c1efd..b2ce9879ec 100644
--- a/rt/tst-timer2.c
+++ b/rt/tst-timer2.c
@@ -30,9 +30,8 @@ do_test (void)
   itval.it_value.tv_nsec = 0;
 
   sigev.sigev_notify = SIGEV_THREAD;
-  sigev.sigev_signo = SIGRTMIN;
   sigev.sigev_notify_function = thread;
-  sigev.sigev_notify_attributes = 0;
+  sigev.sigev_notify_attributes = NULL;
   sigev.sigev_value.sival_ptr = (void *) &timerId;
 
   for (i = 0; i < 100; i++)