Merge pull request #580 from wigyori/cc-libpcap
[15.05/openwrt.git] / package / libs / libpcap / patches / 204-usb-bus-path.patch
1 Fix USB bus path; /proc/bus/usb is deprecated.
2
3 --- a/pcap-usb-linux.c
4 +++ b/pcap-usb-linux.c
5 @@ -71,7 +71,7 @@
6  #define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon"
7  #define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon"
8  #define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
9 -#define PROC_USB_BUS_DIR "/proc/bus/usb"
10 +#define PROC_USB_BUS_DIR "/dev/bus/usb"
11  #define USB_LINE_LEN 4096
12  
13  #if __BYTE_ORDER == __LITTLE_ENDIAN