diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-10-30 22:00:09 +0100 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-10-30 22:00:09 +0100 |
commit | a1d88954b2913bb6b992077accad6b23c6767abe (patch) | |
tree | 3a061d45f702c9c2c3f65c9e7ca99e696053efa7 /com32/hdt/hdt-cli-dmi.c | |
parent | cf14910be4b9941247f5aebb8d901455532553dc (diff) | |
download | syslinux-a1d88954b2913bb6b992077accad6b23c6767abe.tar.gz |
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/hdt/hdt-cli-dmi.c')
-rw-r--r-- | com32/hdt/hdt-cli-dmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli-dmi.c b/com32/hdt/hdt-cli-dmi.c index fca94cdc..111fe56e 100644 --- a/com32/hdt/hdt-cli-dmi.c +++ b/com32/hdt/hdt-cli-dmi.c @@ -505,7 +505,7 @@ void main_show_dmi(int argc __unused, char **argv __unused, printf("No valid DMI table found, exiting.\n"); return; } - printf("DMI Table version %d.%d found\n", + printf("DMI Table version %u.%u found\n", hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version); |