diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2015-10-25 17:07:45 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-10-29 11:05:24 +0200 |
| commit | 9d4ec9370a36f8a564e1ba05519328c0bd60da13 (patch) | |
| tree | 0f306574ea8fb2d77fecf35f4f862e03dfdd5a0a /scripts/qapi.py | |
| parent | 4828b10bda6a74a22a7695303e0648157d0e3ea4 (diff) | |
| download | focaccia-qemu-9d4ec9370a36f8a564e1ba05519328c0bd60da13.tar.gz focaccia-qemu-9d4ec9370a36f8a564e1ba05519328c0bd60da13.zip | |
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>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions