summaryrefslogtreecommitdiff
path: root/src/dmidecode/dmioem.c
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-16 22:44:12 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-16 23:07:47 -0800
commit4d155cbf37ca909daff06dd8c7119274d0861f6c (patch)
treefe9d460fb46097986fe234fddb3f9bd2935c8642 /src/dmidecode/dmioem.c
parent9405281a9e16e55af687c98a83d327946953cc09 (diff)
downloadvyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.tar.gz
vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.zip
Merge upstream version 0.3.4.
(cherry picked from commit 21eb1c8d6fefa5dcd3a9a800b4add06d5c30c01f)
Diffstat (limited to 'src/dmidecode/dmioem.c')
-rw-r--r--src/dmidecode/dmioem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dmidecode/dmioem.c b/src/dmidecode/dmioem.c
index 217c13a..234dbf4 100644
--- a/src/dmidecode/dmioem.c
+++ b/src/dmidecode/dmioem.c
@@ -91,6 +91,7 @@ static int dmi_decode_hp(struct dmi_header *h, const struct libbiosdevname_state
pdev->smbios_enabled = 1;
pdev->smbios_type = smbios_type;
pdev->smbios_instance = nic;
+ pdev->physical_slot = 0;
}
}
nic++;