summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/aix/usleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/usleep.c')
-rw-r--r--sysdeps/unix/sysv/aix/usleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/usleep.c b/sysdeps/unix/sysv/aix/usleep.c
index e34fd0882d..a1d55eb2bc 100644
--- a/sysdeps/unix/sysv/aix/usleep.c
+++ b/sysdeps/unix/sysv/aix/usleep.c
@@ -28,7 +28,7 @@ int
usleep (useconds)
useconds_t useconds;
{
- struct timespec ts ={tv_sec:0,tv_nsec:(long int)useconds * 1000};
+ struct timespec ts ={.tv_sec = 0, .tv_nsec = (long int)useconds * 1000};
__libc_nanosleep(&ts,&ts);
return 0;
}