aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/bp-semctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/bp-semctl.h b/sysdeps/generic/bp-semctl.h
index 39f210ef51..d33ed2b356 100644
--- a/sysdeps/generic/bp-semctl.h
+++ b/sysdeps/generic/bp-semctl.h
@@ -41,7 +41,7 @@ check_semctl (union semun *arg, int semid, int cmd)
case SETALL:
{
struct semid_ds ds;
- union semun un = { buf: &ds };
+ union semun un = { .buf = &ds };
unsigned int length = ~0;
/* It's unfortunate that we need to make a recursive