summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-11 15:25:56 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-11 15:25:56 +0200
commit842c229601af0d0a5cfbe11f1155d332094b580f (patch)
treed912ffa6e4923b191d50239a8acdedc8125393a9
parent8bb50ebf7934b09090516624c0c28671574be205 (diff)
refresh 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;
+ }
+