diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-25 13:41:32 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-25 13:41:32 +0000 |
commit | b211c5bb227c40b9d12c166323e150db627bf41b (patch) | |
tree | 36ce35f182daa1c13df3c230bd7fbaeda3858445 /sys/kern/exec_elf64.c | |
parent | a40a2e33ba10c04e632ee3f056c7f48db65d324e (diff) |
Use PAGE_SIZE instead of NBPG.
Diffstat (limited to 'sys/kern/exec_elf64.c')
-rw-r--r-- | sys/kern/exec_elf64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_elf64.c b/sys/kern/exec_elf64.c index 6366b671bbe..c1d5f4afcfe 100644 --- a/sys/kern/exec_elf64.c +++ b/sys/kern/exec_elf64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf64.c,v 1.7 1999/09/27 11:10:30 kstailey Exp $ */ +/* $OpenBSD: exec_elf64.c,v 1.8 1999/11/25 13:41:30 art Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -656,7 +656,7 @@ exec_elf64_makecmds(p, epp) /* Dell SVR4 maps page zero, yeuch! */ if (p->p_os == OOS_DELL) #endif - NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_readvn, NBPG, 0, + NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_readvn, PAGE_SIZE, 0, epp->ep_vp, 0, VM_PROT_READ); #endif @@ -730,7 +730,7 @@ exec_elf64_fixup(p, epp) a++; a->au_id = AUX_pagesz; - a->au_v = NBPG; + a->au_v = PAGE_SIZE; a++; a->au_id = AUX_base; |