summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-11 02:04:43 +0000
committerdd <dd@FreeBSD.org>2001-07-11 02:04:43 +0000
commit9a7a96328cf4facedfd68ed99266d9014022f9c8 (patch)
treeb473544b5bf5ed756657499e2656052baf7020d4 /sys
parent66b66b84f0b3f43fac632b23274d6eca2529376b (diff)
downloadFreeBSD-src-9a7a96328cf4facedfd68ed99266d9014022f9c8.zip
FreeBSD-src-9a7a96328cf4facedfd68ed99266d9014022f9c8.tar.gz
Correct spelling in a comment and remove trailing newline from a
panic() call (panic() adds it itself).
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index e551e68..cd9d74e 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -254,7 +254,7 @@ interpret:
/*
* For security and other reasons, signal handlers cannot
* be shared after an exec. The new proces gets a copy of the old
- * handlers. In execsigs(), the new process wll have its signals
+ * handlers. In execsigs(), the new process will have its signals
* reset.
*/
if (p->p_procsig->ps_refcnt > 1) {
@@ -267,7 +267,7 @@ interpret:
p->p_procsig = newprocsig;
p->p_procsig->ps_refcnt = 1;
if (p->p_sigacts == &p->p_addr->u_sigacts)
- panic("shared procsig but private sigacts?\n");
+ panic("shared procsig but private sigacts?");
p->p_addr->u_sigacts = *p->p_sigacts;
p->p_sigacts = &p->p_addr->u_sigacts;
OpenPOWER on IntegriCloud