diff --git a/src/wayland-shm.c b/src/wayland-shm.c index 8e2ef77d..4191231d 100644 --- a/src/wayland-shm.c +++ b/src/wayland-shm.c @@ -281,7 +281,7 @@ shm_create_pool(struct wl_client *client, struct wl_resource *resource, if (pool->data == MAP_FAILED) { wl_resource_post_error(resource, WL_SHM_ERROR_INVALID_FD, - "failed mmap fd %d", fd); + "failed mmap fd %d: %m", fd); goto err_free; } close(fd);