From: Thomas Veerman Date: Fri, 22 Jul 2011 10:15:42 +0000 (+0000) Subject: Forgot to rename mmap to minix_mmap X-Git-Tag: v3.2.0~431 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/mdoc.3.txt?a=commitdiff_plain;h=ea1971bd21727465cb5a6253a5dcfb6084338b0d;p=minix.git Forgot to rename mmap to minix_mmap --- diff --git a/test/test44.c b/test/test44.c index 9bf3a0098..08a8eeb22 100644 --- a/test/test44.c +++ b/test/test44.c @@ -26,14 +26,16 @@ main(int argc, char *argv[]) fflush(stdout); for(i = 0; i < CHUNKS; i++) { - v[i] = mmap(vaddr, CHUNKSIZE, PROT_READ|PROT_WRITE, 0, -1, 0); + v[i] = minix_mmap(vaddr, CHUNKSIZE, PROT_READ|PROT_WRITE, 0, + -1, 0); if(v[i] == MAP_FAILED) { - perror("mmap"); - fprintf(stderr, "mmap failed\n"); + perror("minix_mmap"); + fprintf(stderr, "minix_mmap failed\n"); exit(1); } if(v[i] != vaddr) { - fprintf(stderr, "mmap said 0x%p but i wanted 0x%p\n", + fprintf(stderr, + "minix_mmap said 0x%p but i wanted 0x%p\n", v[i], vaddr); exit(1); }