diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-01 21:30:34 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-01 21:30:34 +0000 |
commit | 65eba8d2dc9adb9d977ee9cb47241fbc9832a4fc (patch) | |
tree | 6a1659c79e39ba3bcfee1398357e279abf705a5c /sys/compat | |
parent | a424445f049e11d1da3ea8254456bd421055984c (diff) |
Add a macro to initialize the contents of a vmcmd set.
Correctly initialize the vmcmds in linux_exec.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_exec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index a71748d38d0..02a4fd56ca3 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.14 2000/11/10 15:33:09 provos Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.15 2001/04/01 21:30:33 art Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /* @@ -478,8 +478,7 @@ linux_sys_uselib(p, v, retval) } vp->v_flag |= VTEXT; - vcset.evs_cnt = 0; - vcset.evs_used = 0; + VMCMDSET_INIT(&vcset); NEW_VMCMD( &vcset, magic == ZMAGIC ? vmcmd_map_readvn : vmcmd_map_pagedvn, |