zfs-fuse/zfs-fuse-0.5.0-gcc43.patch

13 lines
453 B
Diff
Raw Permalink Normal View History

diff -Nru zfs-fuse-0.5.0.orig/src/lib/libzpool/zio.c zfs-fuse-0.5.0/src/lib/libzpool/zio.c
--- zfs-fuse-0.5.0.orig/src/lib/libzpool/zio.c 2008-09-13 03:37:59.000000000 +0200
+++ zfs-fuse-0.5.0/src/lib/libzpool/zio.c 2009-03-22 12:56:39.000000000 +0100
@@ -2210,7 +2210,7 @@
}
for (i = 0; i < rc; i++) {
- iocb = events[i].obj;
+ iocb = (struct iocb *)events[i].obj;
zio = (zio_t *) events[i].data;
zio->io_error = -events[i].res2;