summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-23 22:36:18 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-23 22:36:18 +0000
commit6da66c7aea1019ee63d9fc19bc8b73fa7c676da0 (patch)
treef5c29b54063e26896294322cb6fafac2d1f32439 /libmachdev
parentebb437fb4b27fa565b9aebb05cda1e9db4ec17ff (diff)
New upstream snapshot
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/ds_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
index 63457553..d22fb2fe 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -166,7 +166,7 @@ ds_device_open (mach_port_t open_port, mach_port_t reply_port,
char *name, device_t *devp, mach_msg_type_name_t *devicePoly)
{
int i;
- io_return_t err;
+ io_return_t err = D_NO_SUCH_DEVICE;
/* Open must be called on the master device port. */
if (!is_master_device (open_port))