wmifs: Display version number from configure.ac with -v option.
This commit is contained in:
parent
9aa3fefdfb
commit
dd5ea70c7c
|
@ -243,8 +243,6 @@
|
||||||
#define LED_NET_TX (5)
|
#define LED_NET_TX (5)
|
||||||
#define LED_NET_POWER (6)
|
#define LED_NET_POWER (6)
|
||||||
|
|
||||||
#define WMIFS_VERSION "1.6"
|
|
||||||
|
|
||||||
/* the size of the buffer read from /proc/net/ */
|
/* the size of the buffer read from /proc/net/ */
|
||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
|
|
||||||
|
@ -1050,7 +1048,7 @@ void usage(void)
|
||||||
void printversion(void)
|
void printversion(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
fprintf(stderr, "%s\n", WMIFS_VERSION);
|
fprintf(stderr, "%s\n", PACKAGE_STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************************************************************\
|
/*******************************************************************************\
|
||||||
|
|
Loading…
Reference in a new issue