diff options
author | khali <khali> | 2009-07-27 12:07:39 +0000 |
---|---|---|
committer | khali <khali> | 2009-07-27 12:07:39 +0000 |
commit | ca0e924f35cba65710a96402d5dd180e0fb7c0eb (patch) | |
tree | 764a5966847607ca33fdade261ea659ba8fa4111 | |
parent | 77ae65edbb966df1216fd99afbca56c276e73db3 (diff) | |
download | dmidecode-ca0e924f35cba65710a96402d5dd180e0fb7c0eb.tar.gz |
Recognize "Hewlett-Packard" as a possible DMI vendor string for HP.
Orginal patch from Thomas Hiller (HP).
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | dmioem.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -69,3 +69,4 @@ Sofian Brabez Vincent Pelletier Andreas Gruenbacher Lin Li +Thomas Hiller @@ -41,7 +41,7 @@ static enum DMI_VENDORS dmi_vendor = VENDOR_UNKNOWN; */ void dmi_set_vendor(const char *s) { - if (strcmp(s, "HP") == 0) + if (strcmp(s, "HP") == 0 || strcmp(s, "Hewlett-Packard") == 0) dmi_vendor = VENDOR_HP; } |