Commit 3b1b949f authored by Eric Sandeen's avatar Eric Sandeen Committed by Christoph Hellwig

[XFS] Change some %x formats to %p for pointers

SGI Modid: 2.5.x-xfs:slinx:135454a
parent 8920b3cc
...@@ -142,7 +142,7 @@ xfs_inobp_bwcheck(xfs_buf_t *bp) ...@@ -142,7 +142,7 @@ xfs_inobp_bwcheck(xfs_buf_t *bp)
} }
if (INT_ISZERO(dip->di_next_unlinked, ARCH_CONVERT)) { if (INT_ISZERO(dip->di_next_unlinked, ARCH_CONVERT)) {
cmn_err(CE_WARN, cmn_err(CE_WARN,
"Bad next_unlinked field (0) in XFS inode buffer 0x%x, starting blockno %Ld, offset 0x%x", "Bad next_unlinked field (0) in XFS inode buffer 0x%p, starting blockno %Ld, offset 0x%x",
(__uint64_t)(__psunsigned_t) bp, (__uint64_t)(__psunsigned_t) bp,
(__int64_t) XFS_BUF_ADDR(bp), (__int64_t) XFS_BUF_ADDR(bp),
xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize)); xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize));
......
...@@ -97,7 +97,7 @@ xfs_do_force_shutdown( ...@@ -97,7 +97,7 @@ xfs_do_force_shutdown(
if (!(flags & XFS_FORCE_UMOUNT)) { if (!(flags & XFS_FORCE_UMOUNT)) {
cmn_err(CE_NOTE, cmn_err(CE_NOTE,
"xfs_force_shutdown(%s,0x%x) called from line %d of file %s. Return address = 0x%x", "xfs_force_shutdown(%s,0x%x) called from line %d of file %s. Return address = 0x%p",
mp->m_fsname,flags,lnnum,fname,__return_address); mp->m_fsname,flags,lnnum,fname,__return_address);
} }
/* /*
......
...@@ -472,7 +472,7 @@ xfs_trans_read_buf( ...@@ -472,7 +472,7 @@ xfs_trans_read_buf(
*/ */
#if defined(DEBUG) #if defined(DEBUG)
if (XFS_BUF_ISSTALE(bp) && XFS_BUF_ISDELAYWRITE(bp)) if (XFS_BUF_ISSTALE(bp) && XFS_BUF_ISDELAYWRITE(bp))
cmn_err(CE_NOTE, "about to pop assert, bp == 0x%x", bp); cmn_err(CE_NOTE, "about to pop assert, bp == 0x%p", bp);
#endif #endif
ASSERT((XFS_BUF_BFLAGS(bp) & (XFS_B_STALE|XFS_B_DELWRI)) != ASSERT((XFS_BUF_BFLAGS(bp) & (XFS_B_STALE|XFS_B_DELWRI)) !=
(XFS_B_STALE|XFS_B_DELWRI)); (XFS_B_STALE|XFS_B_DELWRI));
......
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