diff options
author | Matt Mower <mowerm@gmail.com> | 2015-12-13 18:29:45 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-12-23 16:56:56 +0100 |
commit | 09ef1e410970b74df384047fcf4c0e18a6ec3643 (patch) | |
tree | 6e88024c45cfb5a66220f2910f853e774f07fb16 /exfat/dump | |
parent | exfat: Build fsck and update path to mkfs (diff) | |
download | android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar.gz android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar.bz2 android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar.lz android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar.xz android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.tar.zst android_bootable_recovery-09ef1e410970b74df384047fcf4c0e18a6ec3643.zip |
Diffstat (limited to 'exfat/dump')
-rw-r--r-- | exfat/dump/dumpexfat.8 | 4 | ||||
-rw-r--r-- | exfat/dump/main.c | 13 |
2 files changed, 8 insertions, 9 deletions
diff --git a/exfat/dump/dumpexfat.8 b/exfat/dump/dumpexfat.8 index 7fea0653c..5cf3995ed 100644 --- a/exfat/dump/dumpexfat.8 +++ b/exfat/dump/dumpexfat.8 @@ -1,11 +1,11 @@ -.\" Copyright (C) 2011 Andrew Nayenko +.\" Copyright (C) 2011-2015 Andrew Nayenko .\" .TH DUMPEXFAT 8 "February 2011" .SH NAME .B dumpexfat \- dump exFAT file system .SH SYNOPSIS -.B exfatlabel +.B dumpexfat [ .B \-s ] diff --git a/exfat/dump/main.c b/exfat/dump/main.c index 7ef571d2f..b6e040947 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-2015 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 @@ -20,12 +20,12 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <exfat.h> #include <fcntl.h> #include <unistd.h> #include <inttypes.h> #include <stdio.h> #include <string.h> -#include <exfat.h> static void print_generic_info(const struct exfat_super_block* sb) { @@ -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; } @@ -153,8 +153,7 @@ int main(int argc, char* argv[]) bool sb_only = false; bool used_sectors = false; - printf("dumpexfat %u.%u.%u\n", - EXFAT_VERSION_MAJOR, EXFAT_VERSION_MINOR, EXFAT_VERSION_PATCH); + printf("dumpexfat %s\n", VERSION); while ((opt = getopt(argc, argv, "suV")) != -1) { @@ -167,7 +166,7 @@ int main(int argc, char* argv[]) used_sectors = true; break; case 'V': - puts("Copyright (C) 2011-2013 Andrew Nayenko"); + puts("Copyright (C) 2011-2015 Andrew Nayenko"); return 0; default: usage(argv[0]); |