Do not do string concatenation with __func__ (which is not a string)
This commit is contained in:
parent
75a3a26d2a
commit
4d3523e298
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user