1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

Use %s __func__ to print the actual function name (been looking at

the wrong one for too often lately at first), and also use %#lx to
get the 0x prefix for the address.

MFC after:	1 week
This commit is contained in:
Bjoern A. Zeeb 2017-02-14 01:20:03 +00:00
parent 87dc0e9bc9
commit 05d58177e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313714

View File

@ -528,8 +528,8 @@ RetryFault:;
fs.map_generation = fs.map->timestamp;
if (fs.entry->eflags & MAP_ENTRY_NOFAULT) {
panic("vm_fault: fault on nofault entry, addr: %lx",
(u_long)vaddr);
panic("%s: fault on nofault entry, addr: %#lx",
__func__, (u_long)vaddr);
}
if (fs.entry->eflags & MAP_ENTRY_IN_TRANSITION &&