aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1992-08-22 07:10:23 +0000
committerRichard M. Stallman <[email protected]>1992-08-22 07:10:23 +0000
commit61a93162c65890ab7fb9de8a9d4cd1d09a0a0242 (patch)
tree94fa7dbfa7a12f687218bec23a9749f0a5e51daa /lib-src
parentce4c9c9080cbab12a6097b6bcc2e77662668ce8c (diff)
entered into RCS
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 5f1a41a502..e3c63b6abb 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -212,7 +212,7 @@ main (argc, argv)
strcat (buf, "/.emacs_server");
creat (buf, 0600);
key = ftok (buf, 1); /* unlikely to be anyone else using it */
- s = msgget (key, 0600);
+ s = msgget (key, 0600 | IPC_CREAT);
if (s == -1)
{
fprintf (stderr, "%s: ", argv[0]);