]> git.sven.stormbind.net Git - sven/exfat-utils.git/blobdiff - dump/main.c
Imported Upstream version 1.2.1
[sven/exfat-utils.git] / dump / main.c
index 71711c1623bccb279302ce95145c6652385b22ec..b6e04094771a5f6dd063166222fbd2d7c69d6669 100644 (file)
@@ -3,7 +3,7 @@
        Prints detailed information about exFAT volume.
 
        Free exFAT implementation.
-       Copyright (C) 2011-2014  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
        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)
 {
@@ -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-2014  Andrew Nayenko");
+                       puts("Copyright (C) 2011-2015  Andrew Nayenko");
                        return 0;
                default:
                        usage(argv[0]);