patch-src_storage_storage_backend_c 413 B

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