summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2012-11-18 10:52:25 +0100
committerAnthony G. Basile <blueness@gentoo.org>2012-11-18 10:15:15 -0500
commit642477398069d56bb10524ab8511c885a2f72b8d (patch)
treed312eea17d5c413025da0f79b4a85314d94292b5 /src/test
parentc189ab04cbaa2f011da0210f2c885e6f693f1d6c (diff)
Fix wrong format warnings
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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);