blob: bab29e4bbc06b5402ef4a2790af44cf2f8e6d3a4 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|