diff options
author | khali <khali> | 2008-10-30 07:50:22 +0000 |
---|---|---|
committer | khali <khali> | 2008-10-30 07:50:22 +0000 |
commit | df134bf29e71d0b5b5838d60a90b880c6db7901c (patch) | |
tree | 80ffde9804e27938a84c73c4fd722451a423283e /dmidecode.c | |
parent | 5a6eea84cb07a62a00c2e10077569071a5e3a7a5 (diff) | |
download | dmidecode-df134bf29e71d0b5b5838d60a90b880c6db7901c.tar.gz |
Option --dump is only a modifier as --quiet is, so it's not actually
mutually exclusive with the output format options.
Diffstat (limited to 'dmidecode.c')
-rw-r--r-- | dmidecode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c index 533eb56..e13dffe 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -3887,7 +3887,8 @@ static void dmi_table(u32 base, u16 len, u16 num, u16 ver, const char *devmem) if ((opt.flags & FLAG_QUIET) && h.type == 127) break; - if (display && !(opt.flags & FLAG_QUIET)) + if (display + && (!(opt.flags & FLAG_QUIET) || (opt.flags & FLAG_DUMP))) printf("Handle 0x%04X, DMI type %d, %d bytes\n", h.handle, h.type, h.length); |