summaryrefslogtreecommitdiff
path: root/extra/usbview/usbview-1.1-missing-usbfs.patch
blob: 7da2f0ca0b7cde4bbcfa6f24b3bb0d326d095523 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/usbtree.c	2012-10-21 08:21:35.000000000 +0200
+++ b/usbtree.c	2012-10-21 08:21:12.000000000 +0200
@@ -397,7 +397,7 @@
 
 void initialize_stuff (void)
 {
-	strcpy (devicesFile, "/proc/bus/usb/devices");
+	strcpy (devicesFile, "/sys/kernel/debug/usb/devices");
 	memset (&previousDevicesFile[0], 0x00, sizeof(previousDevicesFile));
 	previousChange = 0;