summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Matt Colyer2009-09-12 10:17:46 -0700
committerGravatar Matt Colyer2009-09-12 10:17:46 -0700
commit0d95da6ac1fe707f4a93c5d47f4e55b89023251d (patch)
tree2fbda85a3f0838d1c870d3d5614a4aa8d1494a07 /tools
parent9efc866b49a6a00a5438100229b5a6455c785670 (diff)
downloadlibimobiledevice-0d95da6ac1fe707f4a93c5d47f4e55b89023251d.tar.gz
libimobiledevice-0d95da6ac1fe707f4a93c5d47f4e55b89023251d.tar.bz2
Fix -Werror=format-security failure in libiphone/tools/ [#71 state:resolved]
Diffstat (limited to 'tools')
-rw-r--r--tools/iphoneinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c
index 7e275b2..09ba3e3 100644
--- a/tools/iphoneinfo.c
+++ b/tools/iphoneinfo.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
switch (format) {
case FORMAT_XML:
plist_to_xml(node, &xml_doc, &xml_length);
- printf(xml_doc);
+ printf("%s", xml_doc);
free(xml_doc);
break;
case FORMAT_KEY_VALUE: