diff options
Diffstat (limited to 'sysdeps/unix/sysv/aix/sleep.c')
-rw-r--r-- | sysdeps/unix/sysv/aix/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/sleep.c b/sysdeps/unix/sysv/aix/sleep.c index 17a9702633..aa8d76d3d2 100644 --- a/sysdeps/unix/sysv/aix/sleep.c +++ b/sysdeps/unix/sysv/aix/sleep.c @@ -27,7 +27,7 @@ unsigned int __sleep (seconds) unsigned int seconds; { - struct timespec ts ={tv_sec:(long int)seconds,tv_nsec:0}; + struct timespec ts ={.tv_sec = (long int)seconds, .tv_nsec = 0}; __libc_nanosleep(&ts,&ts); return 0; } |