From 212bc4b337fc85df96c1c3b1be24679dbdd52b71 Mon Sep 17 00:00:00 2001 From: David Xu Date: Tue, 20 Jul 2010 02:23:12 +0000 Subject: [PATCH] Fix function name in error messages. --- sys/kern/kern_sig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index a6c56d0b83d7..8a322de1d62c 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -2029,9 +2029,9 @@ tdsendsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi) PROC_LOCK_ASSERT(p, MA_OWNED); if (!_SIG_VALID(sig)) - panic("tdsignal(): invalid signal %d", sig); + panic("%s(): invalid signal %d", __func__, sig); - KASSERT(ksi == NULL || !KSI_ONQ(ksi), ("tdsignal: ksi on queue")); + KASSERT(ksi == NULL || !KSI_ONQ(ksi), ("%s: ksi on queue", __func__)); /* * IEEE Std 1003.1-2001: return success when killing a zombie.