Package: usbview
Version: 1.0-11
Severity: normal
Tags: patch

Ubuntu has deprecated /proc/bus/usb/devices (in favor of /dev/bus/usb/devices) 
and as far as I understand, this is common sense.

The attached patch changes this.


-- 
http://daniel.hahler.de/
diff -u usbview-1.0/usbtree.c usbview-1.0/usbtree.c
--- usbview-1.0/usbtree.c
+++ usbview-1.0/usbtree.c
@@ -398,7 +398,7 @@
 
 void initialize_stuff (void)
 {
-	strcpy (devicesFile, "/proc/bus/usb/devices");
+	strcpy (devicesFile, "/dev/bus/usb/devices");
 	memset (&previousDevicesFile[0], 0x00, sizeof(previousDevicesFile));
 	previousChange = 0;
 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to