diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-23 11:03:56 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-24 00:36:42 +0100 |
commit | 8854e46a50a0272578599d2fcd8d1fb363e19c38 (patch) | |
tree | cc2eb4055cd19d176b5e4669357906055b1ccba6 /tcpip/ttylinkd.c | |
parent | 47349482ee7b737c3cd2a8a1acb18fc3d9b95b0a (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/ttylinkd.c')
-rw-r--r-- | tcpip/ttylinkd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpip/ttylinkd.c b/tcpip/ttylinkd.c index a0764f4..68c0450 100644 --- a/tcpip/ttylinkd.c +++ b/tcpip/ttylinkd.c @@ -37,6 +37,7 @@ #include <arpa/inet.h> #include <config.h> +#include <scm-version.h> #include <protocols/talkd.h> @@ -53,7 +54,7 @@ #include "../pathnames.h" -static char version[] = "ttylink daemon (Version " VERSION ") ready.\n"; +static char version[] = "ttylink daemon (Version " FULL_VER ") ready.\n"; #define SYSOP_USER "root" |