From dd79732e13819cf3ba546f27f3e0bf171a76b1df Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 23 Jan 2017 00:17:31 +0100 Subject: hdlcutil: Switch version number printed to ax25-tools version. The version number has not been changed ever since ax25-tools 0.0.1 making the version useless for bug reporting. Signed-off-by: Ralf Baechle --- hdlcutil/sethdlc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hdlcutil/sethdlc.c') diff --git a/hdlcutil/sethdlc.c b/hdlcutil/sethdlc.c index 9675d4e..99e25cd 100644 --- a/hdlcutil/sethdlc.c +++ b/hdlcutil/sethdlc.c @@ -45,6 +45,8 @@ #include #include "hdrvcomm.h" +#include + /* ---------------------------------------------------------------------- */ static unsigned char trace_stat; @@ -484,7 +486,7 @@ int main(int argc, char *argv[]) char pktbuf[2048]; progname = *argv; - printf("%s: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv); + printf("%s: Version " VERSION "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv); hdrvc_args(&argc, argv, "bc0"); while ((ret = getopt(argc, argv, "bsdhpc:a")) != -1) { switch (ret) { -- cgit v1.2.3