summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scsi_id/scsi_id.c2
-rw-r--r--src/test/test-libudev.c2
-rw-r--r--src/test/test-udev.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/scsi_id/scsi_id.c b/src/scsi_id/scsi_id.c
index c90b6aa581..81980778a0 100644
--- a/src/scsi_id/scsi_id.c
+++ b/src/scsi_id/scsi_id.c
@@ -405,7 +405,7 @@ static int set_options(struct udev *udev,
break;
case 'V':
- printf("%s\n", VERSION);
+ printf("%i\n", VERSION);
exit(0);
break;
diff --git a/src/test/test-libudev.c b/src/test/test-libudev.c
index caa3b4d14c..84254333d2 100644
--- a/src/test/test-libudev.c
+++ b/src/test/test-libudev.c
@@ -489,7 +489,7 @@ int main(int argc, char *argv[])
printf("--debug --syspath= --subsystem= --help\n");
goto out;
case 'V':
- printf("%s\n", VERSION);
+ printf("%i\n", VERSION);
goto out;
default:
goto out;
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index db9d36124e..2a25f2d9b0 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -98,7 +98,7 @@ int main(int argc, char *argv[])
udev = udev_new();
if (udev == NULL)
exit(EXIT_FAILURE);
- log_debug("version %s\n", VERSION);
+ log_debug("version %i\n", VERSION);
label_init("/dev");
sigprocmask(SIG_SETMASK, NULL, &sigmask_orig);