summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_subr.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-10-07 23:31:42 +0000
committerart <art@openbsd.org>2002-10-07 23:31:42 +0000
commit3ca9360b588426d992eb6730b4a9c17c8587e4e1 (patch)
tree26e8cbee8a44b6cf97c8d131fb4feceaaa6eef40 /sys/kern/exec_subr.c
parentint -> uid_t (diff)
downloadwireguard-openbsd-3ca9360b588426d992eb6730b4a9c17c8587e4e1.tar.xz
wireguard-openbsd-3ca9360b588426d992eb6730b4a9c17c8587e4e1.zip
Remove a diagnostic check that I added when reorganizing the code.
It triggers on ppc and while the check itself is correct, it's better to fix the bug before breaking peoples systems.
Diffstat (limited to 'sys/kern/exec_subr.c')
-rw-r--r--sys/kern/exec_subr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/exec_subr.c b/sys/kern/exec_subr.c
index 57e87626bb8..0bcd893f109 100644
--- a/sys/kern/exec_subr.c
+++ b/sys/kern/exec_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_subr.c,v 1.21 2002/10/06 22:39:25 art Exp $ */
+/* $OpenBSD: exec_subr.c,v 1.22 2002/10/07 23:31:42 art Exp $ */
/* $NetBSD: exec_subr.c,v 1.9 1994/12/04 03:10:42 mycroft Exp $ */
/*
@@ -149,10 +149,6 @@ exec_process_vmcmds(struct proc *p, struct exec_package *epp)
}
error = (*vcp->ev_proc)(p, vcp);
if (vcp->ev_flags & VMCMD_BASE) {
-#ifdef DIAGNOSTIC
- if (base_vc != NULL)
- panic("exec_process_vmcmds: multiple BASE");
-#endif
base_vc = vcp;
}
}