mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-07-07 00:06:11 -04:00
shm: fix name of memfd
This commit is contained in:
parent
17024b4431
commit
f884f77d99
1 changed files with 1 additions and 1 deletions
2
shm.c
2
shm.c
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue