summaryrefslogtreecommitdiff
path: root/package/libvirt/patches/patch-src_storage_backend_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:27:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:27:23 +0200
commit71e1837bead950f0dfe2507dbefe897121fbd295 (patch)
tree98315dfe84ecfef947d5b14aa04b859d5912611c /package/libvirt/patches/patch-src_storage_backend_c
parentcc25a98b2c59070ab70ffdda4780cd238e665f5d (diff)
parent81c4c7c2cf2c5ff27a6c02e41bf484a53ea942c2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libvirt/patches/patch-src_storage_backend_c')
-rw-r--r--package/libvirt/patches/patch-src_storage_backend_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libvirt/patches/patch-src_storage_backend_c b/package/libvirt/patches/patch-src_storage_backend_c
new file mode 100644
index 000000000..d47a4493d
--- /dev/null
+++ b/package/libvirt/patches/patch-src_storage_backend_c
@@ -0,0 +1,11 @@
+--- libvirt-0.7.0.orig/src/storage_backend.c 2009-08-05 14:50:01.000000000 +0200
++++ libvirt-0.7.0/src/storage_backend.c 2009-09-11 13:23:38.000000000 +0200
+@@ -128,7 +128,7 @@ virStorageBackendCopyToFD(virConnectPtr
+ }
+ }
+
+- bzero(&zerobuf, sizeof(zerobuf));
++ memset(&zerobuf, 0, sizeof(zerobuf));
+
+ if (VIR_ALLOC_N(buf, bytes) < 0) {
+ virReportOOMError(conn);