aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-03 18:14:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-03 18:14:53 +0000
commita2081047432c58481592e3e8155017fbbdf6c1da (patch)
treecc217dcee5cb92c44bf9de2ada2b80e8efa2ac08
parentdoc: foot/footclient: fix highlighting of TITLE argument to --title (diff)
shm: memfd seal failures are not fatal errors
-rw-r--r--shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shm.c b/shm.c
index 5ae5653d..098bf9a7 100644
--- a/shm.c
+++ b/shm.c
@@ -305,7 +305,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, unsigned long cookie,
F_SEAL_GROW | F_SEAL_SHRINK | /*F_SEAL_FUTURE_WRITE |*/ F_SEAL_SEAL) < 0)
{
LOG_ERRNO("failed to seal SHM backing memory file");
- goto err;
+ /* This is not a fatal error */
}
pool = wl_shm_create_pool(shm, pool_fd, memfd_size);