Fix regression in Linux DMIinfo

* Reversed Linux Name and Vendor paths to align with declarations
This commit is contained in:
Chris M 2024-10-31 19:32:56 +11:00
parent a61703da50
commit fc3e95e16a

View file

@ -67,8 +67,8 @@ std::string DMIInfo::readWMIQuery(std::string query, std::string key)
\******************************************************************************************/ \******************************************************************************************/
DMIInfo::DMIInfo() DMIInfo::DMIInfo()
{ {
mainboard = readFilePath(SYSFS_MB_DMI "/board_vendor"); mainboard = readFilePath(SYSFS_MB_DMI "/board_name");
manufacturer = readFilePath(SYSFS_MB_DMI "/board_name"); manufacturer = readFilePath(SYSFS_MB_DMI "/board_vendor");
product_name = readFilePath(SYSFS_PC_DMI "/product_name"); product_name = readFilePath(SYSFS_PC_DMI "/product_name");
} }