summaryrefslogtreecommitdiffstats
path: root/ax25/axparms.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/axparms.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/axparms.c')
-rw-r--r--ax25/axparms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ax25/axparms.c b/ax25/axparms.c
index 5c49e58..7f09b06 100644
--- a/ax25/axparms.c
+++ b/ax25/axparms.c
@@ -7,6 +7,7 @@
#include <pwd.h>
#include <config.h>
+#include <scm-version.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -352,7 +353,7 @@ int main(int argc, char **argv)
}
if (strncmp(argv[1], "--v", 3) == 0 || strncmp(argv[1], "-v", 2) == 0) {
- printf("axparms: %s\n", VERSION);
+ printf("axparms: %s\n", FULL_VER);
return 0;
}