diff options
| author | Burt P <pburt0@gmail.com> | 2018-10-13 21:43:16 -0500 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-11-04 15:02:12 -0800 | 
| commit | acafe73d9374f724d0cc2f208f2d70be6958bbe0 (patch) | |
| tree | a584ded44a816e919e25ec034be5d60944bc5cf7 | |
| parent | 323f339d83b2504883f942d8b99d3a4aff419f59 (diff) | |
dmi: ignore some zotac nonsense values
Signed-off-by: Burt P <pburt0@gmail.com>
| -rw-r--r-- | hardinfo/dmi_util.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo/dmi_util.c b/hardinfo/dmi_util.c index 7535f48e..ee32d348 100644 --- a/hardinfo/dmi_util.c +++ b/hardinfo/dmi_util.c @@ -34,6 +34,8 @@ static int ignore_placeholder_strings(char **pstr) {      DMI_IGNORE("Default String");      DMI_IGNORE("Rev X.0x"); /* ASUS board version nonsense */      DMI_IGNORE("x.x");      /* Gigabyte board version nonsense */ +    DMI_IGNORE("XX");       /* Zotac version nonsense */ +    DMI_IGNORE("NA");      /*... more, I'm sure. */      return 0;  }  | 
