Do not do string concatenation with __func__ (which is not a string)

This commit is contained in:
Peter Wemm 2002-03-12 00:12:59 +00:00
parent 75a3a26d2a
commit 4d3523e298

View File

@ -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 */
}