ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 49 forks source link

Added lookup for PCI_FILL_CLASS. Now find_gpu() works again. #66

Open izballs opened 4 years ago

izballs commented 4 years ago

Without pci_fill_info(dev, PCI_FILL_CLASS) the function won't work on newest kernel. dev->device_class returns always 0 if its not filled.