summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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':