Fix missing period in patch

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
f38
Jonathan Dieter 6 years ago
parent a8eb4ac8b0
commit 6f756ae6e6

@ -6,7 +6,7 @@ diff -urb usbip-4.18.9a/libsrc/vhci_driver.c usbip-4.18.9b/libsrc/vhci_driver.c
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);
+ return !strncmp(dirent->d_name, "vhci_hcd.", 9);
}
static int get_ncontrollers(void)

@ -4,7 +4,7 @@ Name: usbip
License: GPLv2+
Summary: USB/IP user-space
Version: 4.18.9
Release: 1%{?dist}
Release: 2%{?dist}
#Source: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%%{version}.tar.xz
# In the interests of keeping the source rpm from being ridiculously large,
# download the Linux kernel from above and run `extract_usbip.sh <version>`
@ -92,6 +92,7 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_unitdir}
- Update to 4.18.9
- Add patch to fix problem importing device when another device is in
/sys/devices/platform after vhci (#1631148)
- Fix missing period in patch
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save