Commit f78a06f5 authored by Nathan Straz's avatar Nathan Straz Committed by Nathan Scott

[XFS] Use "%p" to print out addresses from xfs_error_report(). This is so addresses

don't get truncated on 64-bit archs.

SGI Modid: 2.5.x-xfs:slinx:144138a
parent eb0a5728
......@@ -258,11 +258,11 @@ xfs_error_report(
if (mp != NULL) {
xfs_cmn_err(XFS_PTAG_ERROR_REPORT,
CE_ALERT, mp,
"XFS internal error %s at line %d of file %s. Caller 0x%x\n",
"XFS internal error %s at line %d of file %s. Caller 0x%p\n",
tag, linenum, fname, ra);
} else {
cmn_err(CE_ALERT,
"XFS internal error %s at line %d of file %s. Caller 0x%x\n",
"XFS internal error %s at line %d of file %s. Caller 0x%p\n",
tag, linenum, fname, ra);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment