diff options
author | Kacper Kowalik (Xarthisius) <xarthisius@gentoo.org> | 2012-11-18 10:52:25 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-11-18 10:15:15 -0500 |
commit | 642477398069d56bb10524ab8511c885a2f72b8d (patch) | |
tree | d312eea17d5c413025da0f79b4a85314d94292b5 /src | |
parent | c189ab04cbaa2f011da0210f2c885e6f693f1d6c (diff) |
Fix wrong format warnings
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/scsi_id/scsi_id.c | 2 | ||||
-rw-r--r-- | src/test/test-libudev.c | 2 | ||||
-rw-r--r-- | src/test/test-udev.c | 2 |
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); |