--- ehc_loop.c.old	2009-03-28 10:37:21.000000000 +0100
+++ ehc_loop.c 2009-04-12 02:08:25.000000000 +0200
@@ -247,7 +247,11 @@
ums_mode = message->fd;
// if (verbose)
debug_printf("ehc:use disc %s\n",ioctlv_voidp(vec[0]));
- d = wbfs_init_with_partition(ioctlv_voidp(vec[0]));
+ d = wbfs_init_with_partition(ioctlv_voidp(vec[0]));
+ if(!d)
+ result = -1;
+ else
+ result = 0;
break;
case USB_IOCTL_WBFS_READ_DISC:
if (verbose)