aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 6ecbd16f0..72ecc6de1 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -201,7 +201,7 @@ static void ipcsyslog_init(void)
201 if (DEBUG) 201 if (DEBUG)
202 printf("shmget(%lx, %d,...)\n", KEY_ID, G.shm_size); 202 printf("shmget(%lx, %d,...)\n", KEY_ID, G.shm_size);
203 203
204 G.shmid = shmget(KEY_ID, G.shm_size, IPC_CREAT | 1023); 204 G.shmid = shmget(KEY_ID, G.shm_size, IPC_CREAT | 0644);
205 if (G.shmid == -1) { 205 if (G.shmid == -1) {
206 bb_perror_msg_and_die("shmget"); 206 bb_perror_msg_and_die("shmget");
207 } 207 }