diff options
Diffstat (limited to 'package/libvirt/patches/patch-src_storage_storage_backend_c')
-rw-r--r-- | package/libvirt/patches/patch-src_storage_storage_backend_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libvirt/patches/patch-src_storage_storage_backend_c b/package/libvirt/patches/patch-src_storage_storage_backend_c new file mode 100644 index 000000000..bab29e4bb --- /dev/null +++ b/package/libvirt/patches/patch-src_storage_storage_backend_c @@ -0,0 +1,11 @@ +--- libvirt-0.7.4.orig/src/storage/storage_backend.c 2009-11-10 14:32:15.000000000 +0100 ++++ libvirt-0.7.4/src/storage/storage_backend.c 2009-11-23 22:51:40.000000000 +0100 +@@ -136,7 +136,7 @@ virStorageBackendCopyToFD(virConnectPtr + goto cleanup; + } + +- bzero(&zerobuf, sizeof(zerobuf)); ++ memset(&zerobuf, 0, sizeof(zerobuf)); + + if (VIR_ALLOC_N(buf, bytes) < 0) { + virReportOOMError(conn); |