summaryrefslogtreecommitdiffstats
path: root/ax25/bpqparms.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 11:03:56 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-24 00:36:42 +0100
commit8854e46a50a0272578599d2fcd8d1fb363e19c38 (patch)
treecc2eb4055cd19d176b5e4669357906055b1ccba6 /ax25/bpqparms.c
parent47349482ee7b737c3cd2a8a1acb18fc3d9b95b0a (diff)
Add a git suffix to the version number used by all programs.
This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/bpqparms.c')
-rw-r--r--ax25/bpqparms.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ax25/bpqparms.c b/ax25/bpqparms.c
index 83734a8..27007dc 100644
--- a/ax25/bpqparms.c
+++ b/ax25/bpqparms.c
@@ -36,6 +36,7 @@
#include <linux/bpqether.h> /* xlz - dammit, we need this again */
#include <config.h>
+#include <scm-version.h>
void usage(void)
{
@@ -96,7 +97,7 @@ int main(int argc, char **argv)
break;
case 'V':
- printf("bpqparms version " VERSION "\n");
+ printf("bpqparms version " FULL_VER "\n");
printf("Copyright 1996, Jörg Reuter (jreuter@poboxes.com)\n");
printf("This program is free software; you can redistribute it and/or modify\n");
printf("it under the terms of the GNU General Public License as published by\n");
@@ -108,7 +109,7 @@ int main(int argc, char **argv)
return 0;
case 'v':
- printf("bpqparms: %s\n", VERSION);
+ printf("bpqparms: %s\n", FULL_VER);
return 0;
case 'h':