summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-08-22 07:10:23 +0000
committerRichard M. Stallman <rms@gnu.org>1992-08-22 07:10:23 +0000
commit5270320a1cbeebeaddc3440d76f6c85e09803686 (patch)
tree2894beadffabfd5cccffd71820933928aa518686 /lib-src
parent3eb43da52a7a26b8125c95de3347bbfce0207595 (diff)
downloademacs-5270320a1cbeebeaddc3440d76f6c85e09803686.tar.gz
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 5f1a41a502d..e3c63b6abb0 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]);