Michael S. Tsirkin 9d4ec9370a mmap-alloc: fix error handling
Existing callers are checking for MAP_FAILED,
so we should return that on error.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-10-29 11:05:24 +02:00
..
2014-11-17 11:48:56 +01:00
2015-04-30 16:05:48 +03:00
2015-09-18 14:38:08 +02:00
2015-06-23 16:05:34 +01:00
2015-10-29 11:05:24 +02:00
2015-06-22 18:20:40 +02:00
2015-09-14 16:13:16 +01:00