diff --git a/src/xpdev/xpmap.c b/src/xpdev/xpmap.c index eaf002fbfaaf1e9d325b89c42364c7ea8d2c5f10..d0701f90220639770a31db901726cf3431c891c4 100644 --- a/src/xpdev/xpmap.c +++ b/src/xpdev/xpmap.c @@ -43,7 +43,7 @@ struct xpmapping* xpmap(const char *filename, enum xpmap_type type) switch(type) { case XPMAP_READ: oflags=O_RDONLY; - mflags=0; + mflags=MAP_PRIVATE; mprot=PROT_READ; break; case XPMAP_WRITE: