summaryrefslogtreecommitdiff
path: root/debian/patches/libmachdev.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libmachdev.patch')
-rw-r--r--debian/patches/libmachdev.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/libmachdev.patch b/debian/patches/libmachdev.patch
index 5d2e4cd9..6a68baab 100644
--- a/debian/patches/libmachdev.patch
+++ b/debian/patches/libmachdev.patch
@@ -25,11 +25,11 @@ index 6b8d1d4..f0c034f 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -206,7 +206,7 @@ ds_device_close (device_t dev)
- ret = (device->emul_ops->close
- ? (*device->emul_ops->close) (device->emul_data)
+ ret = (device->dev.emul_ops->close
+ ? (*device->dev.emul_ops->close) (device->dev.emul_data)
: D_SUCCESS);
- mach_device_deallocate (device);
+ //mach_device_deallocate (device);
-
- ports_port_deref (device_to_pi (device));
return ret;
+ }
+