aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 5f1a41a502d..e3c63b6abb0 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -212,7 +212,7 @@ main (argc, argv)
212 strcat (buf, "/.emacs_server"); 212 strcat (buf, "/.emacs_server");
213 creat (buf, 0600); 213 creat (buf, 0600);
214 key = ftok (buf, 1); /* unlikely to be anyone else using it */ 214 key = ftok (buf, 1); /* unlikely to be anyone else using it */
215 s = msgget (key, 0600); 215 s = msgget (key, 0600 | IPC_CREAT);
216 if (s == -1) 216 if (s == -1)
217 { 217 {
218 fprintf (stderr, "%s: ", argv[0]); 218 fprintf (stderr, "%s: ", argv[0]);