Author: kib
Date: Fri Sep 22 16:42:41 2017
New Revision: 323932
URL: https://svnweb.freebsd.org/changeset/base/323932

Log:
  Fix 32bit build.
  
  Reported by:  emaste
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/ufs/ffs/ffs_alloc.c

Modified: head/sys/ufs/ffs/ffs_alloc.c
==============================================================================
--- head/sys/ufs/ffs/ffs_alloc.c        Fri Sep 22 15:53:22 2017        
(r323931)
+++ head/sys/ufs/ffs/ffs_alloc.c        Fri Sep 22 16:42:41 2017        
(r323932)
@@ -2615,8 +2615,8 @@ ffs_getcg(fs, devvp, cg, bpp, cgpp)
            (bp->b_flags & B_CKHASH) != 0 &&
            cgp->cg_ckhash != bp->b_ckhash) ||
            !cg_chkmagic(cgp) || cgp->cg_cgx != cg) {
-               printf("checksum failed: cg %u, cgp: 0x%x != bp: 0x%lx\n",
-                   cg, cgp->cg_ckhash, bp->b_ckhash);
+               printf("checksum failed: cg %u, cgp: 0x%x != bp: 0x%jx\n",
+                   cg, cgp->cg_ckhash, (uintmax_t)bp->b_ckhash);
                bp->b_flags &= ~B_CKHASH;
                bp->b_flags |= B_INVAL | B_NOCACHE;
                brelse(bp);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to