You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
452 B
13 lines
452 B
6 years ago
|
diff -urb usbip-4.18.9a/libsrc/vhci_driver.c usbip-4.18.9b/libsrc/vhci_driver.c
|
||
|
--- usbip-4.18.9a/libsrc/vhci_driver.c 2018-09-19 20:41:37.000000000 +0000
|
||
|
+++ usbip-4.18.9b/libsrc/vhci_driver.c 2018-09-20 10:11:10.843791788 +0000
|
||
|
@@ -150,7 +150,7 @@
|
||
|
|
||
|
static int vhci_hcd_filter(const struct dirent *dirent)
|
||
|
{
|
||
|
- return strcmp(dirent->d_name, "vhci_hcd") >= 0;
|
||
|
+ return !strncmp(dirent->d_name, "vhci_hcd", 9);
|
||
|
}
|
||
|
|
||
|
static int get_ncontrollers(void)
|