about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/setitimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/setitimer.c')
-rw-r--r--sysdeps/unix/sysv/aix/setitimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/setitimer.c b/sysdeps/unix/sysv/aix/setitimer.c
index e40a075fa9..d7e741abe7 100644
--- a/sysdeps/unix/sysv/aix/setitimer.c
+++ b/sysdeps/unix/sysv/aix/setitimer.c
@@ -56,7 +56,7 @@ __setitimer (which, new, old)
     case -1: exit(-1);
     case  0:
        {
-        struct timespec ts ={tv_sec:(long int)new->it_value.tv_sec,tv_nsec:0};
+        struct timespec ts ={.tv_sec = (long int)new->it_value.tv_sec, .tv_nsec = 0};
         __libc_nanosleep(&ts,&ts);
 	__kill(getppid(), SIGALRM);
 	exit(0);