aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-10-30 22:00:09 +0100
committerErwan Velu <erwan.velu@free.fr>2009-10-30 22:00:09 +0100
commita1d88954b2913bb6b992077accad6b23c6767abe (patch)
tree3a061d45f702c9c2c3f65c9e7ca99e696053efa7 /com32/modules
parentcf14910be4b9941247f5aebb8d901455532553dc (diff)
downloadsyslinux.git-a1d88954b2913bb6b992077accad6b23c6767abe.tar.gz
syslinux.git-a1d88954b2913bb6b992077accad6b23c6767abe.tar.xz
syslinux.git-a1d88954b2913bb6b992077accad6b23c6767abe.zip
dmi: Adding smbios detection
Impact: Avoid misdetection of dmi version On some hosts, the legacy DMI version is reported as 0.0. We can use SMBIOS to get the real version. Solves HDT's ticket #8
Diffstat (limited to 'com32/modules')
-rw-r--r--com32/modules/dmitest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/dmitest.c b/com32/modules/dmitest.c
index d85b3127..212e82af 100644
--- a/com32/modules/dmitest.c
+++ b/com32/modules/dmitest.c
@@ -179,7 +179,7 @@ int main(void)
printf("No DMI Structure found\n");
return -1;
} else {
- printf("DMI %d.%d present.\n", dmi.dmitable.major_version,
+ printf("DMI %u.%u present.\n", dmi.dmitable.major_version,
dmi.dmitable.minor_version);
printf("%d structures occupying %d bytes.\n", dmi.dmitable.num,
dmi.dmitable.len);