diff options
author | David Sommerseth <davids@redhat.com> | 2009-05-13 17:22:04 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-05-13 17:22:04 +0200 |
commit | 40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14 (patch) | |
tree | f97b745c3d85f511a640f948a0fbc73cc35ed823 /src/dmidecode.c | |
parent | 03bdcc92ff93e58a9befa5c9439b0cd656e57ccc (diff) | |
download | python-dmidecode-40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14.tar.gz python-dmidecode-40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14.tar.xz python-dmidecode-40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14.zip |
Mark CPU as Populated = 'No' when not present
Diffstat (limited to 'src/dmidecode.c')
-rw-r--r-- | src/dmidecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmidecode.c b/src/dmidecode.c index 4a14992..422287c 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -3871,7 +3871,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, struct dmi_header * h, u16 ver) dmi_processor_status(sect_n, data[0x18] & 0x07); } else { dmixml_AddAttribute(sect_n, "populated", "0"); - dmi_processor_status(sect_n, data[0x18] & 0x07); + dmixml_AddTextChild(sect_n, "Populated", "No"); } dmi_processor_upgrade(sect_n, data[0x19]); |