diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-03-12 06:20:19 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-03-12 06:20:19 +0000 |
| commit | 71d7d1b17aac58f60ca8dcc25d2e3785c8c9c081 (patch) | |
| tree | bb15f2c5655fdc6f3dca93a0d7220ec04acb062c /sys/compat/linux | |
| parent | 31432c9ff1290b1576033a86fcab742a9f10885a (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index bf242d9e69dd..c78b6b9251bc 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.14 1996/03/04 21:03:07 peter Exp $ + * $Id: linux_misc.c,v 1.15 1996/03/10 23:25:17 peter Exp $ */ #include <sys/param.h> @@ -333,7 +333,7 @@ printf("uselib: Non page aligned binary %d\n", file_offset); /* map file into kernel_map */ error = vm_mmap(kernel_map, &buffer, round_page(a_out->a_text + a_out->a_data + file_offset), - VM_PROT_READ, VM_PROT_READ, MAP_FILE, + VM_PROT_READ, VM_PROT_READ, 0, (caddr_t)vp, trunc_page(file_offset)); if (error) goto cleanup; |
