=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pkill/pkill.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/pkill/pkill.c 2004/07/15 13:55:10 1.5 --- src/usr.bin/pkill/pkill.c 2004/07/15 17:15:33 1.6 *************** *** 1,4 **** ! /* $OpenBSD: pkill.c,v 1.5 2004/07/15 13:55:10 mpech Exp $ */ /* $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: pkill.c,v 1.6 2004/07/15 17:15:33 millert Exp $ */ /* $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */ /*- *************** *** 38,44 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: pkill.c,v 1.5 2004/07/15 13:55:10 mpech Exp $"; #endif /* !lint */ #include --- 38,44 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: pkill.c,v 1.6 2004/07/15 17:15:33 millert Exp $"; #endif /* !lint */ #include *************** *** 422,428 **** killact(struct kinfo_proc2 *kp) { ! if (kill(kp->p_pid, signum) == -1) { warn("signalling pid %d", (int)kp->p_pid); return (-1); } --- 422,428 ---- killact(struct kinfo_proc2 *kp) { ! if (kill(kp->p_pid, signum) == -1 && errno != ESRCH) { warn("signalling pid %d", (int)kp->p_pid); return (-1); }