Skip to content
Commit 1349d3d1 authored by Alex Richardson's avatar Alex Richardson
Browse files

Use MAP_FAILED instead of (void *) -1



While MAP_FAILED is generally defined to that value, we should not be
relying on implementation details of system headers.

Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
parent 3bda3d1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment