From 7243352849ef3f4947d4c25a2a05c1af7151564b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 26 Jul 2017 00:35:38 +0200 Subject: ax25ipd: Fix printing of version number. fb9187cbfcbe ("ax25ipd: Switch version number printed to ax25-apps version.") removed the VERS2 argument from printf but forgot to remove the %s format string as well potencially crashing or printing garbage when printing the version number. Fixes: fb9187cbfcbe ("ax25ipd: Switch version number printed to ax25-apps version.") Signed-off-by: Ralf Baechle --- ax25ipd/ax25ipd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c index 74ae39e..08bfa7c 100644 --- a/ax25ipd/ax25ipd.c +++ b/ax25ipd/ax25ipd.c @@ -66,7 +66,7 @@ static struct option options[] = { static void greet_world(void) { - printf("\nax25ipd %s / %s\n", VERSION); + printf("\nax25ipd %s\n", VERSION); printf ("Copyright 1991, Michael Westerhof, Sun Microsystems, Inc.\n"); printf -- cgit v1.2.3