summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorYang, Cheng C <cheng.c.yang@intel.com>2019-07-26 04:31:29 +0300
committerGerrit Code Review <gerrit@localhost>2019-07-26 04:31:29 +0300
commit3fb9f22d0840a4e27a64fb0c934ac587d580f0a1 (patch)
tree5834b7afd8c95d7e07cc58392e35cdc57458f199 /services
parent14edb08c51a4999b4a9b1eda2ba859dfe16eb299 (diff)
parent03083f1cfc85796d8e55ff5885ee579bece7c5f7 (diff)
downloadprovingground-3fb9f22d0840a4e27a64fb0c934ac587d580f0a1.tar.xz
Merge "Fix UUID Disappear Issue"
Diffstat (limited to 'services')
-rw-r--r--services/smbios-mdrv2/src/mdrv2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/smbios-mdrv2/src/mdrv2.cpp b/services/smbios-mdrv2/src/mdrv2.cpp
index 1a2fbcb..2aa09d8 100644
--- a/services/smbios-mdrv2/src/mdrv2.cpp
+++ b/services/smbios-mdrv2/src/mdrv2.cpp
@@ -397,6 +397,7 @@ void MDR_V2::systemInfoUpdate()
bus, path, index, smbiosDir.dir[smbiosDirIndex].dataStorage));
}
+ system.reset();
system = std::make_unique<System>(
bus, systemPath, smbiosDir.dir[smbiosDirIndex].dataStorage);
}