summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_dev.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-02-24 04:16:19 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-02-24 04:16:19 +0000
commit6c9cef576ca4ef096771fc416e9be5389b45aeda (patch)
tree8427a4990088227f08ed6803622e8447d6e9352f /sys/dev/usb/usb_dev.c
parentf78fa6b67e0250ab3f642d568b8eeafddd7cb188 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb_dev.c')
-rw-r--r--sys/dev/usb/usb_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c
index 8df78d236a73..87a656a3f561 100644
--- a/sys/dev/usb/usb_dev.c
+++ b/sys/dev/usb/usb_dev.c
@@ -1342,6 +1342,7 @@ usb2_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
u.data = data;
+ err = 0;
switch (cmd) {
case USB_READ_DIR:
err = usb2_read_symlink(u.urd->urd_data,