]> git.neil.brown.name Git - history.git/commitdiff
[XFS] Change some %x formats to %p for pointers
authorEric Sandeen <sandeen@sgi.com>
Fri, 20 Dec 2002 22:11:41 +0000 (23:11 +0100)
committerChristoph Hellwig <hch@sgi.com>
Fri, 20 Dec 2002 22:11:41 +0000 (23:11 +0100)
SGI Modid: 2.5.x-xfs:slinx:135454a

fs/xfs/xfs_inode.c
fs/xfs/xfs_rw.c
fs/xfs/xfs_trans_buf.c

index 0f6829c20b96f72af7f5ca46bb07339c069318af..9c21a670f53d7f95242d0627c261902597eb7547 100644 (file)
@@ -142,7 +142,7 @@ xfs_inobp_bwcheck(xfs_buf_t *bp)
                }
                if (INT_ISZERO(dip->di_next_unlinked, ARCH_CONVERT))  {
                        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,
                                (__int64_t) XFS_BUF_ADDR(bp),
                                xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize));
index f6cb452490f77df2e18f1f94a57f7023be5ba5ed..7e3f5ccd6c3d003544d31e37158e327359fa2565 100644 (file)
@@ -97,7 +97,7 @@ xfs_do_force_shutdown(
 
        if (!(flags & XFS_FORCE_UMOUNT)) {
                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);
        }
        /*
index 829b9345433c7fae8f8ba20a1029ed492f85fcf3..adcc0b050e5b4a9589ae13e5773fd596c82441ca 100644 (file)
@@ -472,7 +472,7 @@ shutdown_abort:
         */
 #if defined(DEBUG)
        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
        ASSERT((XFS_BUF_BFLAGS(bp) & (XFS_B_STALE|XFS_B_DELWRI)) !=
                                                (XFS_B_STALE|XFS_B_DELWRI));