2016-12-10 09:56:22 +00:00
|
|
|
Fix USB bus path; /proc/bus/usb is deprecated.
|
|
|
|
|
|
|
|
--- a/pcap-usb-linux.c
|
|
|
|
+++ b/pcap-usb-linux.c
|
2018-07-26 14:46:38 +00:00
|
|
|
@@ -72,7 +72,7 @@
|
2016-12-10 09:56:22 +00:00
|
|
|
#define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon"
|
|
|
|
#define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon"
|
|
|
|
#define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
|
|
|
|
-#define PROC_USB_BUS_DIR "/proc/bus/usb"
|
|
|
|
+#define PROC_USB_BUS_DIR "/dev/bus/usb"
|
|
|
|
#define USB_LINE_LEN 4096
|
|
|
|
|
|
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|