diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-12 19:07:20 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-12 19:07:20 +0100 |
| commit | 0eae06e5fb400328ae0956aafffcf1b5082c9a15 (patch) | |
| tree | 7686152246bf0afcdb4696593c5f9a1559e834ea /package/libvirt/patches | |
| parent | 917da64a3d68249942cb842dbd9e5504d72f9989 (diff) | |
fix cross-compile under Darwin
Diffstat (limited to 'package/libvirt/patches')
| -rw-r--r-- | package/libvirt/patches/patch-src_storage_storage_backend_c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libvirt/patches/patch-src_storage_storage_backend_c b/package/libvirt/patches/patch-src_storage_storage_backend_c index bab29e4bb..7a1713e7b 100644 --- a/package/libvirt/patches/patch-src_storage_storage_backend_c +++ b/package/libvirt/patches/patch-src_storage_storage_backend_c @@ -1,6 +1,6 @@ ---- 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 +--- 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; } @@ -8,4 +8,4 @@ + memset(&zerobuf, 0, sizeof(zerobuf)); if (VIR_ALLOC_N(buf, bytes) < 0) { - virReportOOMError(conn); + ret = -errno; |
