]> git.neil.brown.name Git - history.git/commitdiff
[XFS] Use "%p" to print out addresses from xfs_error_report(). This is so addresses
authorNathan Straz <nstraz@sgi.com>
Fri, 2 May 2003 23:30:40 +0000 (01:30 +0200)
committerNathan Scott <nathans@sgi.com>
Fri, 2 May 2003 23:30:40 +0000 (01:30 +0200)
don't get truncated on 64-bit archs.

SGI Modid: 2.5.x-xfs:slinx:144138a

fs/xfs/xfs_error.c

index e926de8fa779373bd78cb1fd11f7808d0b793351..379a4f55bde346f6fa80997e2c58191a5ffffd93 100644 (file)
@@ -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);
                }