From 8854e46a50a0272578599d2fcd8d1fb363e19c38 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 23 Jan 2017 11:03:56 +0100 Subject: 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 --- ax25/beacon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ax25/beacon.c') diff --git a/ax25/beacon.c b/ax25/beacon.c index 18ccc93..f8f8d68 100644 --- a/ax25/beacon.c +++ b/ax25/beacon.c @@ -17,6 +17,8 @@ #include #include +#include + static int logging = FALSE; static int mail = FALSE; static int single = FALSE; @@ -75,7 +77,7 @@ int main(int argc, char *argv[]) } break; case 'v': - printf("beacon: %s\n", VERSION); + printf("beacon: %s\n", FULL_VER); return 0; case '?': case ':': -- cgit v1.2.3