summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-05-15 19:52:18 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-05-15 19:52:18 -0400
commit9611fc1fc7cc41ddba85b343db19994a00c8878f (patch)
tree69f770332969974d4fe89de14fb821d219c69c0c /src
parentf8e5fbd9c8b209e556c017bfb420a86e8181dfa7 (diff)
src/scsi_id/scsi_id.c: remove redeclaration of VERSION
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/scsi_id/Makefile.am1
-rw-r--r--src/scsi_id/scsi_id.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/scsi_id/Makefile.am b/src/scsi_id/Makefile.am
index cb30e73e1a..6050eb9347 100644
--- a/src/scsi_id/Makefile.am
+++ b/src/scsi_id/Makefile.am
@@ -1,7 +1,6 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CPPFLAGS = \
- -DVERSION \
-I $(top_srcdir)/src/libudev \
-I $(top_srcdir)/src/udev
diff --git a/src/scsi_id/scsi_id.c b/src/scsi_id/scsi_id.c
index 74b3ef5b0d..0ff95e566f 100644
--- a/src/scsi_id/scsi_id.c
+++ b/src/scsi_id/scsi_id.c
@@ -398,7 +398,7 @@ static int set_options(struct udev *udev,
break;
case 'V':
- printf("%i\n", VERSION);
+ printf("%s\n", VERSION);
exit(0);
case 'x':