diff options
Diffstat (limited to 'libgphoto2_port/usb/libusb.c')
-rw-r--r-- | libgphoto2_port/usb/libusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2_port/usb/libusb.c b/libgphoto2_port/usb/libusb.c index d39ed19d9..9a173b877 100644 --- a/libgphoto2_port/usb/libusb.c +++ b/libgphoto2_port/usb/libusb.c @@ -245,7 +245,7 @@ gp_port_usb_open (GPPort *port) ret = usb_get_driver_np (port->pl->dh, port->settings.usb.interface, name, sizeof(name) ); - if (strstr(name,"usbfs")) { + if (strstr(name,"usbfs") || strstr(name,"storage")) { /* other gphoto instance most likely */ gp_port_set_error (port, _("Camera is already in use.")); return GP_ERROR_IO_LOCK; |