diff options
| author | 2001-04-01 21:30:32 +0000 | |
|---|---|---|
| committer | 2001-04-01 21:30:32 +0000 | |
| commit | 1bdf816e5bb68dad6d0aab5e7704e37908ec48ba (patch) | |
| tree | 052dc2faafd3def720ab0ed14b1064b64ed2a54c /sys/compat/linux/linux_exec.c | |
| parent | if we have a secondary fontset loaded and it (diff) | |
| download | wireguard-openbsd-1bdf816e5bb68dad6d0aab5e7704e37908ec48ba.tar.xz wireguard-openbsd-1bdf816e5bb68dad6d0aab5e7704e37908ec48ba.zip | |
Add a macro to initialize the contents of a vmcmd set.
Correctly initialize the vmcmds in linux_exec.
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
| -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, |
