summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2010-11-25 14:48:08 +0100
committerJiri Denemark <jdenemar@redhat.com>2010-11-25 18:14:58 +0100
commit5414d6b6ae011cce4de36760196b190e6dafa501 (patch)
tree7d65ca6597fd66084ed9bf400b128d8a3bfe0e61
parentFix host CPU counting on unusual NUMA topologies (diff)
downloadlibvirt-5414d6b6ae011cce4de36760196b190e6dafa501.tar.gz
libvirt-5414d6b6ae011cce4de36760196b190e6dafa501.tar.bz2
libvirt-5414d6b6ae011cce4de36760196b190e6dafa501.zip
doc: Fix spelling of virBufferVSprintf
-rw-r--r--HACKING2
-rw-r--r--docs/hacking.html.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index cd7559d58..d64670900 100644
--- a/HACKING
+++ b/HACKING
@@ -508,7 +508,7 @@ Typical usage is as follows:
...
virBufferAddLit(&buf, "<domain>\n");
- virBufferVSprint(&buf, " <memory>%d</memory>\n", memory);
+ virBufferVSprintf(&buf, " <memory>%d</memory>\n", memory);
...
virBufferAddLit(&buf, "</domain>\n");
diff --git a/docs/hacking.html.in b/docs/hacking.html.in
index ac16f411b..900e2428a 100644
--- a/docs/hacking.html.in
+++ b/docs/hacking.html.in
@@ -606,7 +606,7 @@
...
virBufferAddLit(&amp;buf, "&lt;domain&gt;\n");
- virBufferVSprint(&amp;buf, " &lt;memory&gt;%d&lt;/memory&gt;\n", memory);
+ virBufferVSprintf(&amp;buf, " &lt;memory&gt;%d&lt;/memory&gt;\n", memory);
...
virBufferAddLit(&amp;buf, "&lt;/domain&gt;\n");