summary refs log tree commit diff stats
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-04-14 14:11:56 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-04-14 17:31:47 +0200
commit420b6c317de87890e06225de6e2f8af7bf714df0 (patch)
tree3cbbae13610ae4451a7020ebe945affd6b51d839 /qemu-timer.h
parent4d9ad7f793605abd9806fc932b3e04e028894565 (diff)
downloadfocaccia-qemu-420b6c317de87890e06225de6e2f8af7bf714df0.tar.gz
focaccia-qemu-420b6c317de87890e06225de6e2f8af7bf714df0.zip
tests/test-mmap.c: Check mmap() return value before using it
Correct the position of a "stop if MAP_FAILED" check in the mmap()
tests, so that if mmap() does fail we print a failure message
rather than segfaulting inside memcpy().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions