summaryrefslogtreecommitdiffstats
path: root/dosfstools
diff options
context:
space:
mode:
authorlambdadroid <lambdadroid@gmail.com>2018-10-09 20:42:22 +0200
committerDees Troy <dees_troy@teamw.in>2019-03-22 22:09:13 +0100
commita0a163586cf4b124002ce1cc764f0dd677887d09 (patch)
treece7436543bac71f8ad927da777a6657b360855a2 /dosfstools
parentSupport both old and new mkfs.f2fs (diff)
downloadandroid_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar.gz
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar.bz2
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar.lz
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar.xz
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.tar.zst
android_bootable_recovery-a0a163586cf4b124002ce1cc764f0dd677887d09.zip
Diffstat (limited to 'dosfstools')
-rw-r--r--dosfstools/src/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dosfstools/src/check.c b/dosfstools/src/check.c
index bbb97e4f3..add822293 100644
--- a/dosfstools/src/check.c
+++ b/dosfstools/src/check.c
@@ -585,10 +585,10 @@ static int check_file(DOS_FS * fs, DOS_FILE * file)
if (!(file->dir_ent.attr & ATTR_DIR) && le32toh(file->dir_ent.size) <=
(uint64_t)clusters * fs->cluster_size) {
printf
- ("%s\n File size is %u bytes, cluster chain length is > %lu "
+ ("%s\n File size is %u bytes, cluster chain length is > %llu "
"bytes.\n Truncating file to %u bytes.\n", path_name(file),
le32toh(file->dir_ent.size),
- (uint64_t)clusters * fs->cluster_size,
+ (unsigned long long)clusters * fs->cluster_size,
le32toh(file->dir_ent.size));
truncate_file(fs, file, clusters);
break;