diff options
author | Xin LI <delphij@FreeBSD.org> | 2020-09-28 04:30:31 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2020-09-28 04:30:31 +0000 |
commit | 5e8221100a2db96e41eb23ae692b22e2124db3c6 (patch) | |
tree | 55f3e05c1389a95eab177407d502428c88d875bf | |
parent | b65eb2f8a83fb102bcacaa0eafff96ac290a2d5a (diff) | |
download | src-test2-5e8221100a2db96e41eb23ae692b22e2124db3c6.tar.gz src-test2-5e8221100a2db96e41eb23ae692b22e2124db3c6.zip |
Notes
-rw-r--r-- | sbin/fsck_msdosfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c index 010bd65f95c1..471f6cc0335e 100644 --- a/sbin/fsck_msdosfs/dir.c +++ b/sbin/fsck_msdosfs/dir.c @@ -422,8 +422,8 @@ 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 %" PRIu64 "\n", - fullpath(dir), dir->size, physicalSize); + pwarn("size of %s is %u, should at most be %ju\n", + fullpath(dir), dir->size, (uintmax_t)physicalSize); if (ask(1, "Truncate")) { dir->size = physicalSize; p[28] = (u_char)physicalSize; |