Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 07:27:13 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366065 - head/sbin/fsck_msdosfs
Message-ID:  <202009230727.08N7RDC8088549@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Sep 23 07:27:12 2020
New Revision: 366065
URL: https://svnweb.freebsd.org/changeset/base/366065

Log:
  Fix build.
  
  Pointy hat to:	delphij
  MFC after:	3 days

Modified:
  head/sbin/fsck_msdosfs/dir.c

Modified: head/sbin/fsck_msdosfs/dir.c
==============================================================================
--- head/sbin/fsck_msdosfs/dir.c	Wed Sep 23 06:52:22 2020	(r366064)
+++ head/sbin/fsck_msdosfs/dir.c	Wed Sep 23 07:27:12 2020	(r366065)
@@ -422,7 +422,7 @@ checksize(struct fat_descriptor *fat, u_char *p, struc
 		physicalSize = (u_int64_t)chainsize * boot->ClusterSize;
 	}
 	if (physicalSize < dir->size) {
-		pwarn("size of %s is %u, should at most be %zu\n",
+		pwarn("size of %s is %u, should at most be %" PRIu64 "\n",
 		      fullpath(dir), dir->size, physicalSize);
 		if (ask(1, "Truncate")) {
 			dir->size = physicalSize;



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