summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98d.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 /tcpip/rip98d.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 'tcpip/rip98d.c')
-rw-r--r--tcpip/rip98d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c
index ca9a7b5..bb85e66 100644
--- a/tcpip/rip98d.c
+++ b/tcpip/rip98d.c
@@ -2,6 +2,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <scm-version.h>
#include <stdio.h>
#include <stdlib.h>
@@ -296,7 +297,7 @@ int main(int argc, char **argv)
}
break;
case 'v':
- printf("rip98d: %s\n", VERSION);
+ printf("rip98d: %s\n", FULL_VER);
return 0;
case ':':
fprintf(stderr, "rip98d: invalid time interval\n");