summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_elf.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
committermillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
commit30ada397194e271afa7d8722cb210facc046d5e0 (patch)
treeda96bf3f3c53aa96309550a9f93772da24730c8f /sys/kern/exec_elf.c
parentAdd pnic driver (diff)
downloadwireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.tar.xz
wireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.zip
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r--sys/kern/exec_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 75c425402e3..6cd23955660 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.22 1998/07/28 00:13:02 millert Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.23 1999/01/11 05:12:22 millert Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -471,7 +471,7 @@ exec_elf_makecmds(p, epp)
if (epp->ep_vp->v_writecount != 0) {
#ifdef DIAGNOSTIC
if (epp->ep_vp->v_flag & VTEXT)
- panic("exec: a VTEXT vnode has writecount != 0\n");
+ panic("exec: a VTEXT vnode has writecount != 0");
#endif
return (ETXTBSY);
}