From 642477398069d56bb10524ab8511c885a2f72b8d Mon Sep 17 00:00:00 2001 From: "Kacper Kowalik (Xarthisius)" Date: Sun, 18 Nov 2012 10:52:25 +0100 Subject: Fix wrong format warnings Signed-off-by: Anthony G. Basile --- src/test/test-libudev.c | 2 +- src/test/test-udev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') 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); -- cgit v1.2.3-54-g00ecf