summaryrefslogtreecommitdiffstats
path: root/hdlcutil/smdiag.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
commitdd79732e13819cf3ba546f27f3e0bf171a76b1df (patch)
tree7f9e262b263328ef15643224dad7a5868a743b79 /hdlcutil/smdiag.c
parentee6eadf12892fe583dab9b4b06e00e32dae82ada (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/smdiag.c')
-rw-r--r--hdlcutil/smdiag.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hdlcutil/smdiag.c b/hdlcutil/smdiag.c
index 16d34f0..ad621f8 100644
--- a/hdlcutil/smdiag.c
+++ b/hdlcutil/smdiag.c
@@ -48,6 +48,8 @@
#include <X11/Xutil.h>
#include "hdrvcomm.h"
+#include <config.h>
+
/* ---------------------------------------------------------------------- */
static char *progname;
@@ -331,7 +333,7 @@ int main(int argc, char *argv[])
unsigned int samplesperbit;
progname = *argv;
- printf("%s: Version 0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " VERSION "0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "sm0");
while ((ret = getopt(argc, argv, "d:ecp")) != -1) {
switch (ret) {