--- libvirt-0.8.7.orig/src/storage/storage_backend.c 2010-12-22 09:54:05.000000000 +0100 +++ libvirt-0.8.7/src/storage/storage_backend.c 2011-01-12 18:30:49.000000000 +0100 @@ -131,7 +131,7 @@ virStorageBackendCopyToFD(virStorageVolD goto cleanup; } - bzero(&zerobuf, sizeof(zerobuf)); + memset(&zerobuf, 0, sizeof(zerobuf)); if (VIR_ALLOC_N(buf, bytes) < 0) { ret = -errno;