diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-08-20 14:04:16 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-08-20 14:04:16 +0000 |
commit | 94c5e7695eed9447afceb3cbcac752ab4d68c395 (patch) | |
tree | 0c3fb39c7f3fa92b00ab51d82e67953bb24fd65d /lib/libusb/libusb10.c | |
parent | 230977d3550e0d09219f834245733469001ae919 (diff) | |
download | FreeBSD-src-94c5e7695eed9447afceb3cbcac752ab4d68c395.zip FreeBSD-src-94c5e7695eed9447afceb3cbcac752ab4d68c395.tar.gz |
Use correct enum instead of constant value.
MFC after: 1 week
Spotted by: scf @
Approved by: re (kib)
Diffstat (limited to 'lib/libusb/libusb10.c')
-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 d11f631..b66ccb6 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: |