mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
shm: log 'size' when failing to fallocate()
This commit is contained in:
parent
fff480e584
commit
9d834bb43d
1 changed files with 1 additions and 1 deletions
2
shm.c
2
shm.c
|
|
@ -133,7 +133,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, unsigned long cookie)
|
|||
|
||||
if (!failure_logged) {
|
||||
failure_logged = true;
|
||||
LOG_ERRNO_P("failed to fallocate", err);
|
||||
LOG_ERRNO_P("failed to fallocate %zu bytes", err, size);
|
||||
}
|
||||
|
||||
if (ftruncate(pool_fd, size) == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue