Skip to content

Commit

Permalink
report product model on Power systems
Browse files Browse the repository at this point in the history
Github PR #54
  • Loading branch information
lyonel committed May 26, 2020
1 parent 1556522 commit 3775782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/device-tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ static void get_ibm_model(hwNode & n)
{
if (ibm_model_defs[i].model == machinetype || ibm_model_defs[i].model == model)
{
n.setProduct(ibm_model_defs[i].modelname);
n.setProduct(n.getProduct() + " (" + ibm_model_defs[i].modelname + ")");
n.addHint("icon", string(ibm_model_defs[i].icon));
n.setConfig("chassis", ibm_model_defs[i].chassis);
return;
Expand Down

0 comments on commit 3775782

Please sign in to comment.