From dd5ea70c7c8d3bbaf379b84969a7dd79d3258013 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 20 Apr 2016 00:14:11 -0400 Subject: [PATCH] wmifs: Display version number from configure.ac with -v option. --- wmifs/wmifs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 28e8f18..d50abe1 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -243,8 +243,6 @@ #define LED_NET_TX (5) #define LED_NET_POWER (6) -#define WMIFS_VERSION "1.6" - /* the size of the buffer read from /proc/net/ */ #define BUFFER_SIZE 512 @@ -1050,7 +1048,7 @@ void usage(void) void printversion(void) { - fprintf(stderr, "%s\n", WMIFS_VERSION); + fprintf(stderr, "%s\n", PACKAGE_STRING); } /*******************************************************************************\