Fix regression in Linux DMIinfo
* Reversed Linux Name and Vendor paths to align with declarations
This commit is contained in:
parent
a61703da50
commit
fc3e95e16a
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue