diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index e192fa05f8a1fdd7805235ff05e96b1bea70617c..4247eccf858c62c656cc58e91a40591eb3789786 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -595,7 +595,7 @@ static int usbdev_open(struct inode *inode, struct file *file) if (!ps) goto out; - ret = -ENOENT; + ret = -ENODEV; /* usbdev device-node */ if (imajor(inode) == USB_DEVICE_MAJOR)