summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-libudev.c2
-rw-r--r--src/test/test-udev.c2
2 files changed, 2 insertions, 2 deletions
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);