summaryrefslogtreecommitdiffstats
path: root/exfat/label
diff options
context:
space:
mode:
Diffstat (limited to 'exfat/label')
-rw-r--r--exfat/label/exfatlabel.82
-rw-r--r--exfat/label/main.c9
2 files changed, 5 insertions, 6 deletions
diff --git a/exfat/label/exfatlabel.8 b/exfat/label/exfatlabel.8
index dd2ef1c00..bff6e7996 100644
--- a/exfat/label/exfatlabel.8
+++ b/exfat/label/exfatlabel.8
@@ -1,4 +1,4 @@
-.\" Copyright (C) 2011 Andrew Nayenko
+.\" Copyright (C) 2011-2015 Andrew Nayenko
.\"
.TH EXFATLABEL 8 "February 2011"
.SH NAME
diff --git a/exfat/label/main.c b/exfat/label/main.c
index 2e5b5caf6..b219d4e65 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 @@ 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-2013 Andrew Nayenko");
+ printf("exfatlabel %s\n", VERSION);
+ puts("Copyright (C) 2011-2015 Andrew Nayenko");
return 0;
}