summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-09-23 00:33:55 -0700
committerXin Li <delphij@google.com>2020-09-23 00:33:55 -0700
commit62a280b2c2489b2fa99a54e806d987bd0bf0039a (patch)
tree957241480384e963675ca7eb625c17be802dd4e5
parent19b9a35621b143123b5b1be9b8046eb6d564c764 (diff)
downloadfsck_msdos-62a280b2c2489b2fa99a54e806d987bd0bf0039a.tar.gz
Import revision 667eef4ac6396ffe2d705b401a2a09f60ab38fe7 from FreeBSD.
Change-Id: I23f5307232024b7ddabb6441cb1b6cd4e8aab641
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 018250a..010bd65 100644
--- a/dir.c
+++ b/dir.c
@@ -422,7 +422,7 @@ checksize(struct fat_descriptor *fat, u_char *p, struct dosDirEntry *dir)
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;