diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-02 23:56:33 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-02 23:56:33 +0000 |
commit | cf6c9b5c49913eb8a64b0df472988e627ffc5bc6 (patch) | |
tree | 83cbf3561076d90e386709b9720646b88511f210 /sys/kern | |
parent | b19b658661d584209ec995f802e89d142d43ef87 (diff) |
make it compile w/ DEBUG by syncing w/ exec.h; deraadt@ ok
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/exec_subr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/exec_subr.c b/sys/kern/exec_subr.c index 750371c556c..a76ffdf3ad2 100644 --- a/sys/kern/exec_subr.c +++ b/sys/kern/exec_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_subr.c,v 1.19 2002/07/21 21:29:33 art Exp $ */ +/* $OpenBSD: exec_subr.c,v 1.20 2002/10/02 23:56:32 mickey Exp $ */ /* $NetBSD: exec_subr.c,v 1.9 1994/12/04 03:10:42 mycroft Exp $ */ /* @@ -54,7 +54,7 @@ */ void -new_vmcmd(evsp, proc, len, addr, vp, offset, prot) +new_vmcmd(evsp, proc, len, addr, vp, offset, prot, flags) struct exec_vmcmd_set *evsp; int (*proc)(struct proc * p, struct exec_vmcmd *); u_long len; @@ -62,6 +62,7 @@ new_vmcmd(evsp, proc, len, addr, vp, offset, prot) struct vnode *vp; u_long offset; u_int prot; + int flags; { struct exec_vmcmd *vcp; @@ -75,6 +76,7 @@ new_vmcmd(evsp, proc, len, addr, vp, offset, prot) vref(vp); vcp->ev_offset = offset; vcp->ev_prot = prot; + vcp->ev_flags = flags; } #endif /* DEBUG */ |