commit | 5cf23c53b8a96269ef72b6d675c811c8132ae5ec | [log] [tgz] |
---|---|---|
author | James Hogan <james.hogan@imgtec.com> | Wed May 01 13:16:49 2013 +0100 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed May 01 14:54:05 2013 +0000 |
tree | 1b0bebcfca65e5832603d10828fb0e658673dfc1 | |
parent | 6303f357793be8be7860cf257fed0efd427c0f98 [diff] |
test/skodic: make a bit more portable * test/skodic.c (main): Don't use MAP_FIXED since valid virtual addresses vary between architectures (as far as I can tell the use of MAP_FIXED is not relevant to the test). Also don't assume the file desriptor returned by open call is 3 when passing it to mmap. Signed-off-by: James Hogan <james.hogan@imgtec.com>