wmifs: Display version number from configure.ac with -v option.

This commit is contained in:
Doug Torrance 2016-04-20 00:14:11 -04:00 committed by Carlos R. Mafra
parent 9aa3fefdfb
commit dd5ea70c7c

View file

@ -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);
}
/*******************************************************************************\