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