From 9611fc1fc7cc41ddba85b343db19994a00c8878f Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 15 May 2014 19:52:18 -0400 Subject: src/scsi_id/scsi_id.c: remove redeclaration of VERSION Signed-off-by: Anthony G. Basile --- src/scsi_id/Makefile.am | 1 - src/scsi_id/scsi_id.c | 2 +- 2 files changed, 1 insertion(+), 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': -- cgit v1.2.3-54-g00ecf