]> git.sven.stormbind.net Git - sven/exfat-utils.git/blobdiff - label/main.c
Imported Upstream version 1.2.1
[sven/exfat-utils.git] / label / main.c
index 33f04356eafa2d45f65e6b8c806204a0966fa053..b219d4e658c3e56e797310f16dc5dda66745cf83 100644 (file)
@@ -3,7 +3,7 @@
        Prints or changes exFAT volume label.
 
        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
@@ -20,9 +20,9 @@
        51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
+#include <exfat.h>
 #include <stdio.h>
 #include <string.h>
-#include <exfat.h>
 
 int main(int argc, char* argv[])
 {
@@ -33,9 +33,8 @@ int main(int argc, char* argv[])
        for (pp = argv + 1; *pp; pp++)
                if (strcmp(*pp, "-V") == 0)
                {
-                       printf("exfatlabel %u.%u.%u\n", EXFAT_VERSION_MAJOR,
-                                       EXFAT_VERSION_MINOR, EXFAT_VERSION_PATCH);
-                       puts("Copyright (C) 2011-2014  Andrew Nayenko");
+                       printf("exfatlabel %s\n", VERSION);
+                       puts("Copyright (C) 2011-2015  Andrew Nayenko");
                        return 0;
                }