diff options
author | Mike Hommey <glandium@debian.org> | 2009-09-10 22:10:39 +0200 |
---|---|---|
committer | Mike Hommey <glandium@debian.org> | 2009-09-10 22:10:39 +0200 |
commit | c3e4f3c26035bc93a69e5aa2ad435809e8be8a4e (patch) | |
tree | e65557c2e042fe8a77635b0548db10ad97bc1bfe /doc/examples/io2.c | |
parent | e248b20a3b7df364cc9617b8685b4c190338bcd2 (diff) | |
download | libxml2-c3e4f3c26035bc93a69e5aa2ad435809e8be8a4e.tar.gz |
Import upstream version 2.7.4upstream/2.7.4.dfsg
Diffstat (limited to 'doc/examples/io2.c')
-rw-r--r-- | doc/examples/io2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/io2.c b/doc/examples/io2.c index 2659ef1..814a27e 100644 --- a/doc/examples/io2.c +++ b/doc/examples/io2.c @@ -34,7 +34,7 @@ main(void) * for demonstration purposes. */ xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1); - printf((char *) xmlbuff); + printf("%s", (char *) xmlbuff); /* * Free associated memory. |