Correct spelling in a comment and remove trailing newline from a

panic() call (panic() adds it itself).
This commit is contained in:
Dima Dorfman 2001-07-11 02:04:43 +00:00
parent 3cf5e6ff05
commit b2c3fa70e3

View File

@ -254,7 +254,7 @@ execve(p, uap)
/*
* 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 @@ execve(p, uap)
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;