(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.

This commit is contained in:
Ulrich Drepper 2001-08-11 20:27:50 +00:00
parent 2a656c95d6
commit 44ad8377fb

View File

@ -945,7 +945,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
mapping. */
__mprotect ((caddr_t) (l->l_addr + c->mapend),
loadcmds[nloadcmds - 1].allocend - c->mapend,
0);
PROT_NONE);
goto postmap;
}