summaryrefslogtreecommitdiffstats
path: root/kiss/kissnetd.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 /kiss/kissnetd.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 'kiss/kissnetd.c')
-rw-r--r--kiss/kissnetd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/kiss/kissnetd.c b/kiss/kissnetd.c
index 366bb89..7b64ad9 100644
--- a/kiss/kissnetd.c
+++ b/kiss/kissnetd.c
@@ -25,6 +25,7 @@
#include <limits.h>
#include <config.h>
+#include <scm-version.h>
static int VerboseMode;
static int MaxFrameSize = 512;
@@ -58,7 +59,7 @@ static void Usage(void)
static void Banner(int Small)
{
if (Small) {
- printf("kissnetd V %s by Frederic RIBLE F1OAT - ATEPRA FPAC/Linux Project\n", VERSION);
+ printf("kissnetd V %s by Frederic RIBLE F1OAT - ATEPRA FPAC/Linux Project\n", FULL_VER);
}
else {
printf("****************************************\n");
@@ -66,9 +67,9 @@ static void Banner(int Small)
printf("* ATEPRA FPAC/Linux Project *\n");
printf("****************************************\n");
printf("* %*skissnetd Version %s%*s*\n",
- (int) (10 - strlen(VERSION) / 2), "",
- VERSION,
- (int) (10 - (strlen(VERSION) + 1)) / 2, "");
+ (int) (10 - strlen(FULL_VER) / 2), "",
+ FULL_VER,
+ (int) (10 - (strlen(FULL_VER) + 1)) / 2, "");
printf("* by Frederic RIBLE F1OAT *\n");
printf("****************************************\n");
}