X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fipc%2Fmsgctl.c;h=4372c71939cad44717423282cc6382842ffed1bd;hb=9724defdb72fdb2ae4e8a60e928d40d84fe04800;hp=d50e395b2534cdbcee8e56407bc28557c9d89d67;hpb=c2cd25bff89c3581780e7eb267262cb8c4da0d38;p=musl diff --git a/src/ipc/msgctl.c b/src/ipc/msgctl.c index d50e395b..4372c719 100644 --- a/src/ipc/msgctl.c +++ b/src/ipc/msgctl.c @@ -5,8 +5,8 @@ int msgctl(int q, int cmd, struct msqid_ds *buf) { #ifdef SYS_msgctl - return syscall(SYS_msgctl, q, cmd, buf); + return syscall(SYS_msgctl, q, cmd | IPC_64, buf); #else - return syscall(SYS_ipc, IPCOP_msgctl, q, cmd, buf); + return syscall(SYS_ipc, IPCOP_msgctl, q, cmd | IPC_64, 0, buf, 0); #endif }