exfat: Update to 1.2.2
Change-Id: I160389afa074270c398aeb771845500f2445838a
diff --git a/exfat/label/main.c b/exfat/label/main.c
index 2e5b5ca..b219d4e 100644
--- a/exfat/label/main.c
+++ b/exfat/label/main.c
@@ -3,7 +3,7 @@
Prints or changes exFAT volume label.
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,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 @@
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-2013 Andrew Nayenko");
+ printf("exfatlabel %s\n", VERSION);
+ puts("Copyright (C) 2011-2015 Andrew Nayenko");
return 0;
}