--- 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);