From 09ef1e410970b74df384047fcf4c0e18a6ec3643 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Sun, 13 Dec 2015 11:29:45 -0600 Subject: exfat: Update to 1.2.2 Change-Id: I160389afa074270c398aeb771845500f2445838a --- exfat/dump/dumpexfat.8 | 4 ++-- exfat/dump/main.c | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'exfat/dump') 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 #include #include #include #include #include -#include 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]); -- cgit v1.2.3