diff options
Diffstat (limited to 'shmexport.c')
-rw-r--r-- | shmexport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shmexport.c b/shmexport.c index fc9f66e2..806b85c2 100644 --- a/shmexport.c +++ b/shmexport.c @@ -39,7 +39,7 @@ bool shm_acquire(struct gps_context_t *context) { long shmkey = getenv("GPSD_SHM_KEY") ? strtol(getenv("GPSD_SHM_KEY"), NULL, 0) : GPSD_SHM_KEY; - int shmid = shmget((key_t)shmkey, sizeof(struct shmexport_t), (int)(IPC_CREAT|IPC_EXCL|0666)); + int shmid = shmget((key_t)shmkey, sizeof(struct shmexport_t), (int)(IPC_CREAT|0666)); if (shmid == -1) { gpsd_log(&context->errout, LOG_ERROR, "shmget(0x%lx, %zd, 0666) for SHM export failed: %s\n", |