summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-12 00:12:59 +0000
committerpeter <peter@FreeBSD.org>2002-03-12 00:12:59 +0000
commit4bd977bea6c6b3b78004ba216ca953ee2d941b7d (patch)
treeba41952b0502e8dfa493251d60f5b11c25081296 /sys/dev/acpica/Osd
parente19329dfa6d09570b7202473c5b3b65556897428 (diff)
downloadFreeBSD-src-4bd977bea6c6b3b78004ba216ca953ee2d941b7d.zip
FreeBSD-src-4bd977bea6c6b3b78004ba216ca953ee2d941b7d.tar.gz
Do not do string concatenation with __func__ (which is not a string)
Diffstat (limited to 'sys/dev/acpica/Osd')
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index d5ba111..e3aebc2 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -271,6 +271,6 @@ AcpiOsGetThreadId (void)
{
/* XXX do not add FUNCTION_TRACE here, results in recursive call */
- KASSERT(curproc != NULL, (__func__ ": curproc is NULL!"));
+ KASSERT(curproc != NULL, ("%s: curproc is NULL!", __func__));
return(curproc->p_pid + 1); /* can't return 0 */
}
OpenPOWER on IntegriCloud