summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-07-26 00:35:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-07-26 00:35:38 +0200
commit7243352849ef3f4947d4c25a2a05c1af7151564b (patch)
tree381be1b91fb783c1b0ce965937f95d4e0480fe00
parentd6e194c91c9d3813e62e9e323bbcb1df55e11959 (diff)
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 <ralf@linux-mips.org>
-rw-r--r--ax25ipd/ax25ipd.c2
1 files changed, 1 insertions, 1 deletions
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