summaryrefslogtreecommitdiffstats
path: root/exfat/dump
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2014-09-05 02:58:41 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-09-05 15:46:39 +0200
commit2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5 (patch)
tree697067dc07351c8e6a6a7d5e3228143304a6b8ae /exfat/dump
parentMTP: Use fork instead of pthread (diff)
downloadandroid_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar.gz
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar.bz2
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar.lz
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar.xz
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.tar.zst
android_bootable_recovery-2e33c5ee0b1a1ece068489e8fd99f3e4eb3501b5.zip
Diffstat (limited to 'exfat/dump')
-rw-r--r--exfat/dump/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/exfat/dump/main.c b/exfat/dump/main.c
index 7ef571d2f..5d70fdec3 100644
--- a/exfat/dump/main.c
+++ b/exfat/dump/main.c
@@ -3,7 +3,7 @@
Prints detailed information about exFAT volume.
Free exFAT implementation.
- Copyright (C) 2011-2013 Andrew Nayenko
+ Copyright (C) 2011-2014 Andrew Nayenko
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -85,13 +85,13 @@ static int dump_sb(const char* spec)
if (exfat_read(dev, &sb, sizeof(struct exfat_super_block)) < 0)
{
exfat_close(dev);
- exfat_error("failed to read from `%s'", spec);
+ exfat_error("failed to read from '%s'", spec);
return 1;
}
if (memcmp(sb.oem_name, "EXFAT ", sizeof(sb.oem_name)) != 0)
{
exfat_close(dev);
- exfat_error("exFAT file system is not found on `%s'", spec);
+ exfat_error("exFAT file system is not found on '%s'", spec);
return 1;
}
@@ -106,7 +106,7 @@ static int dump_sb(const char* spec)
static void dump_sectors(struct exfat* ef)
{
- off_t a = 0, b = 0;
+ off64_t a = 0, b = 0;
printf("Used sectors ");
while (exfat_find_used_sectors(ef, &a, &b) == 0)
@@ -167,7 +167,7 @@ int main(int argc, char* argv[])
used_sectors = true;
break;
case 'V':
- puts("Copyright (C) 2011-2013 Andrew Nayenko");
+ puts("Copyright (C) 2011-2014 Andrew Nayenko");
return 0;
default:
usage(argv[0]);