On 22 September 2017 at 07:31, Pekka Paalanen wrote:
> Fix the assumption that MAP_FAILED would be equal to NULL. It is not.
> Set 'fb' explicitly to NULL on mmap failure so that comparisons to NULL
> would produce the expected result.
>
> Signed-off-by: Pekka Paalanen
Reviewed-by: Daniel Stone
From: Pekka Paalanen
Fix the assumption that MAP_FAILED would be equal to NULL. It is not.
Set 'fb' explicitly to NULL on mmap failure so that comparisons to NULL
would produce the expected result.
Signed-off-by: Pekka Paalanen
---
libweston/compositor-fbdev.c | 1 +
1 file changed, 1 insertio