commit | 0fa3474be36be5fee98bebb169df68dcf806e3f3 | [log] [tgz] |
---|---|---|
author | Olivier Fourdan <ofourdan@redhat.com> | Mon Feb 05 15:39:43 2018 +0100 |
committer | Daniel Stone <daniels@collabora.com> | Fri Feb 09 17:03:28 2018 +0000 |
tree | 19c1cbdeadb3209e0129a91f3c75cda46f5bb054 | |
parent | bf7cc6805396af8df3b40e10c63de701346c93dd [diff] |
shm: provide actual error on mmap failed When an mmap() fails, a WL_SHM_ERROR_INVALID_FD is raised and the client is killed. However, there is no indication of the actual system error that caused mmap() to fail, which makes such error harder to investigate. Provide the actual error message that caused mmap() to fail. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>