1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

__func__ is a const char *, not a "string" that can be concatenated.

This commit is contained in:
Peter Wemm 2002-03-19 11:11:37 +00:00
parent 90f9252584
commit 6d4a5aee06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92674

View File

@ -106,7 +106,7 @@ ia64_ap_startup(void)
mtx_lock_spin(&sched_lock);
cpu_throw();
panic(__func__ ": cpu_throw() returned");
panic("ia64_ap_startup: cpu_throw() returned");
}
int
@ -140,13 +140,13 @@ cpu_mp_add(uint acpiid, uint apicid, uint apiceid)
}
KASSERT((all_cpus & (1UL << acpiid)) == 0,
(__func__ ": cpu%d already in CPU map", acpiid));
("%s: cpu%d already in CPU map", __func__, acpiid));
lid = LID_SAPIC_SET(apicid, apiceid);
if ((ia64_get_lid() & LID_SAPIC_MASK) == lid) {
KASSERT(acpiid == 0,
(__func__ ": the BSP must be cpu0"));
("%s: the BSP must be cpu0", __func__));
}
if (acpiid != 0) {