diff options
author | peter <peter@FreeBSD.org> | 2002-03-12 00:12:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-12 00:12:59 +0000 |
commit | 4bd977bea6c6b3b78004ba216ca953ee2d941b7d (patch) | |
tree | ba41952b0502e8dfa493251d60f5b11c25081296 /sys | |
parent | e19329dfa6d09570b7202473c5b3b65556897428 (diff) | |
download | FreeBSD-src-4bd977bea6c6b3b78004ba216ca953ee2d941b7d.zip FreeBSD-src-4bd977bea6c6b3b78004ba216ca953ee2d941b7d.tar.gz |
Do not do string concatenation with __func__ (which is not a string)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpica/Osd/OsdSchedule.c | 2 |
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 */ } |