OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 Fix USB bus path; /proc/bus/usb is deprecated.
2  
3 --- a/pcap-usb-linux.c
4 +++ b/pcap-usb-linux.c
3 office 5 @@ -71,7 +71,7 @@
1 office 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