summaryrefslogtreecommitdiffstats
path: root/src/host/osmocon/osmocon.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-04-06 10:58:24 +0800
committerHarald Welte <laforge@gnumonks.org>2010-04-06 10:58:24 +0800
commitf633cd623541a43804a9701a1a436cc1d710a809 (patch)
tree93a9580db1bf9f46e64036fcd6b0827b5381f421 /src/host/osmocon/osmocon.c
parent10b30c606f46df242053b813c9e4c96a60491011 (diff)
osmocon: use git-version-gen and PACKAGE_VERSION for 'osmocon -v'
Diffstat (limited to 'src/host/osmocon/osmocon.c')
-rw-r--r--src/host/osmocon/osmocon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c
index 985b02fc..557181f7 100644
--- a/src/host/osmocon/osmocon.c
+++ b/src/host/osmocon/osmocon.c
@@ -46,8 +46,6 @@
#include <arpa/inet.h>
-//#include "version.h"
-
#define MODEM_BAUDRATE B115200
#define MAX_DNLOAD_SIZE 0xFFFF
#define MAX_HDR_SIZE 128
@@ -979,7 +977,7 @@ static int usage(const char *name)
static int version(const char *name)
{
- //printf("%s version %s\n", name, VERSION);
+ printf("%s version %s\n", name, PACKAGE_VERSION);
exit(2);
}