File: use-correct-pci.ids-pathname.patch

package info (click to toggle)
sysfsutils 2.1.0%2Brepack-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,180 kB
  • sloc: sh: 8,705; ansic: 8,026; makefile: 43
file content (19 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Guillem Jover <guillem@debian.org>
Description: Use correct pathname for pci.ids on Debian systems.
Forwarded: yes

---
 cmd/systool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/cmd/systool.c
+++ b/cmd/systool.c
@@ -655,7 +655,7 @@ int main(int argc, char *argv[])
 	char *show_root = NULL;
 	int retval = 0;
 	int opt;
-        char *pci_id_file = "/usr/local/share/pci.ids";
+	char *pci_id_file = "/usr/share/misc/pci.ids";
 	
 	while((opt = getopt(argc, argv, cmd_options)) != EOF) {
 		switch(opt) {