diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-08-20 14:04:16 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-08-20 14:04:16 +0000 |
| commit | 33ec9f0cb0e2928c586d481a5bba64860b111ce1 (patch) | |
| tree | 0c3fb39c7f3fa92b00ab51d82e67953bb24fd65d /lib/libusb | |
| parent | 0c4dbd5af70981fe337cdefc91e454ab91558b94 (diff) | |
Notes
Diffstat (limited to 'lib/libusb')
| -rw-r--r-- | lib/libusb/libusb10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c index d11f631d2380..b66ccb6eec51 100644 --- a/lib/libusb/libusb10.c +++ b/lib/libusb/libusb10.c @@ -276,7 +276,7 @@ enum libusb_speed libusb_get_device_speed(libusb_device *dev) { if (dev == NULL) - return (0); /* should not happen */ + return (LIBUSB_SPEED_UNKNOWN); /* should not happen */ switch (libusb20_dev_get_speed(dev->os_priv)) { case LIBUSB20_SPEED_LOW: |
