svn commit: r366065 - head/sbin/fsck_msdosfs

Xin LI delphij at FreeBSD.org
Wed Sep 23 07:27:13 UTC 2020


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;


More information about the svn-src-all mailing list