diff options
Diffstat (limited to 'shm/dconf-shm.c')
-rw-r--r-- | shm/dconf-shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shm/dconf-shm.c b/shm/dconf-shm.c index 10bfec9..e47e377 100644 --- a/shm/dconf-shm.c +++ b/shm/dconf-shm.c @@ -134,7 +134,7 @@ dconf_shm_flag (const gchar *name) * * Using mmap() works everywhere. */ - shm = mmap (NULL, 1, PROT_WRITE, MAP_SHARED, fd, 0); + shm = mmap (NULL, 1, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); g_assert (shm != MAP_FAILED); *shm = 1; |