diff --git a/include/sys/ipc.h b/include/sys/ipc.h index 724654305b..6c6d3f953a 100644 --- a/include/sys/ipc.h +++ b/include/sys/ipc.h @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE 0x01ff /* Mode bit mask */ -#define IPC_CREAT (1 << 10) /* Create entry if key does not exist */ -#define IPC_EXCL (1 << 11) /* Fail if key exists */ -#define IPC_NOWAIT (1 << 12) /* Error if request must wait */ +#define IPC_MODE 0x01ff /* Mode bit mask */ +#define IPC_CREAT 0x0200 /* Create key if key does not exist. */ +#define IPC_EXCL 0x0400 /* Fail if key exists. */ +#define IPC_NOWAIT 0x0800 /* Return error on wait. */ /* Keys: */