Skip to content

Commit

Permalink
Memory: Add description
Browse files Browse the repository at this point in the history
  • Loading branch information
jackburton79 committed Oct 2, 2018
1 parent cedd4d5 commit c371f4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,10 @@ Machine::_ExtractDataFromDMIDB(dmi_db systemInfo)
} else
info.size = int_to_string(0);

mapIter = entry.find("Locator");
if (mapIter != entry.end())
info.description = mapIter->second;

mapIter = entry.find("Type");
if (mapIter != entry.end() && info.size != "0")
info.type = mapIter->second;
Expand Down

0 comments on commit c371f4c

Please sign in to comment.