about summary refs log tree commit diff
path: root/src/ipc/semctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/semctl.c')
-rw-r--r--src/ipc/semctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/semctl.c b/src/ipc/semctl.c
index ce1fb164..e5dd5359 100644
--- a/src/ipc/semctl.c
+++ b/src/ipc/semctl.c
@@ -20,7 +20,7 @@ int semctl(int id, int num, int cmd, ...)
 	va_list ap;
 	switch (cmd) {
 	case SETVAL: case GETALL: case SETALL: case IPC_STAT: case IPC_SET:
-	case IPC_INFO: case SEM_INFO: case SEM_STAT:
+	case IPC_INFO: case SEM_INFO: case SEM_STAT: case SEM_STAT_ANY:
 		va_start(ap, cmd);
 		arg = va_arg(ap, union semun);
 		va_end(ap);