Blame SOURCES/disable-old-smbios-warning.patch
|
|
f2d158 |
--- a/src/dmidecode.c 2017-03-13 10:29:05.482568934 +0100
|
|
|
f2d158 |
+++ b/src/dmidecode.c 2017-03-13 10:29:21.437336606 +0100
|
|
|
f2d158 |
@@ -5230,12 +5230,6 @@ static void dmi_table(Log_t *logp, int t
|
|
|
f2d158 |
return;
|
|
|
f2d158 |
}
|
|
|
f2d158 |
|
|
|
f2d158 |
- if (ver > SUPPORTED_SMBIOS_VER) {
|
|
|
f2d158 |
- log_append(logp, LOGFL_NODUPS, LOG_WARNING,
|
|
|
f2d158 |
- "# SMBIOS implementations newer than version %u.%u are not\n"
|
|
|
f2d158 |
- "# fully supported by this version of dmidecode.\n",
|
|
|
f2d158 |
- SUPPORTED_SMBIOS_VER >> 8, SUPPORTED_SMBIOS_VER & 0xFF);
|
|
|
f2d158 |
- }
|
|
|
f2d158 |
// FIXME: This is hackerish ... rather try to avoid looping dmi_table() calls too much
|
|
|
f2d158 |
if( version_added == 0 ) {
|
|
|
f2d158 |
dmixml_AddAttribute(xmlnode, "smbios_version", "%u.%u", ver >> 8, ver & 0xFF);
|