File dmidecode-1.180-skip-version-check.patch of Package dmidecode.2592
Subject: Skip the SMBIOS version comparison in quiet mode
Upstream: yes, 1.180
References: bsc#974862
Patch from Jens Rosenboom.
---
dmidecode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -4336,7 +4336,7 @@ static void dmi_table(u32 base, u16 len,
u8 *data;
int i = 0;
- if (ver > SUPPORTED_SMBIOS_VER)
+ if (ver > SUPPORTED_SMBIOS_VER && !(opt.flags & FLAG_QUIET))
{
printf("# SMBIOS implementations newer than version %u.%u are not\n"
"# fully supported by this version of dmidecode.\n",