Peter Maydell 420b6c317d 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>
2011-04-14 17:31:47 +02:00
..
2011-03-07 13:42:37 +01:00
2011-02-20 18:45:08 +01:00
2011-03-07 13:42:37 +01:00
2010-05-07 16:28:10 +00:00
2010-10-23 14:47:06 +00:00