Skip to content

Commit fc3e95e

Browse files
committedOct 31, 2024
Fix regression in Linux DMIinfo
* Reversed Linux Name and Vendor paths to align with declarations
1 parent a61703d commit fc3e95e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎dmiinfo/dmiinfo.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ std::string DMIInfo::readWMIQuery(std::string query, std::string key)
6767
\******************************************************************************************/
6868
DMIInfo::DMIInfo()
6969
{
70-
mainboard = readFilePath(SYSFS_MB_DMI "/board_vendor");
71-
manufacturer = readFilePath(SYSFS_MB_DMI "/board_name");
70+
mainboard = readFilePath(SYSFS_MB_DMI "/board_name");
71+
manufacturer = readFilePath(SYSFS_MB_DMI "/board_vendor");
7272
product_name = readFilePath(SYSFS_PC_DMI "/product_name");
7373
}
7474

0 commit comments

Comments
 (0)
Please sign in to comment.