Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 16:42:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323932 - head/sys/ufs/ffs
Message-ID:  <201709221642.v8MGgf0f044747@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709221642.v8MGgf0f044747>