diff options
author | 1999-01-11 05:10:58 +0000 | |
---|---|---|
committer | 1999-01-11 05:10:58 +0000 | |
commit | 30ada397194e271afa7d8722cb210facc046d5e0 (patch) | |
tree | da96bf3f3c53aa96309550a9f93772da24730c8f /sys/kern/exec_script.c | |
parent | Add pnic driver (diff) | |
download | wireguard-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_script.c')
-rw-r--r-- | sys/kern/exec_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index 93583be73d5..7f7c90a72cc 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_script.c,v 1.7 1997/11/06 05:58:13 csapuntz Exp $ */ +/* $OpenBSD: exec_script.c,v 1.8 1999/01/11 05:12:22 millert Exp $ */ /* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */ /* @@ -207,7 +207,7 @@ check_shell: (size_t *)0); #ifdef DIAGNOSTIC if (error != 0) - panic("exec_script: copyinstr couldn't fail\n"); + panic("exec_script: copyinstr couldn't fail"); #endif #ifdef FDSCRIPTS } else |