Date: Tue, 14 Feb 2017 01:20:03 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313714 - head/sys/vm Message-ID: <201702140120.v1E1K3dN051497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Tue Feb 14 01:20:03 2017 New Revision: 313714 URL: https://svnweb.freebsd.org/changeset/base/313714 Log: 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 Modified: head/sys/vm/vm_fault.c Modified: head/sys/vm/vm_fault.c ============================================================================== --- head/sys/vm/vm_fault.c Tue Feb 14 00:54:48 2017 (r313713) +++ head/sys/vm/vm_fault.c Tue Feb 14 01:20:03 2017 (r313714) @@ -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 &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702140120.v1E1K3dN051497>