shm: fix name of memfd

This commit is contained in:
Daniel Eklöf 2019-11-02 00:05:07 +01:00
parent 17024b4431
commit f884f77d99
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
shm.c
View file

@ -64,7 +64,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, size_t copies)
pixman_image_t *pix = NULL; pixman_image_t *pix = NULL;
/* Backing memory for SHM */ /* Backing memory for SHM */
pool_fd = memfd_create("f00sel-wayland-shm-buffer-pool", MFD_CLOEXEC); pool_fd = memfd_create("foot-wayland-shm-buffer-pool", MFD_CLOEXEC);
if (pool_fd == -1) { if (pool_fd == -1) {
LOG_ERRNO("failed to create SHM backing memory file"); LOG_ERRNO("failed to create SHM backing memory file");
goto err; goto err;