From ca0e924f35cba65710a96402d5dd180e0fb7c0eb Mon Sep 17 00:00:00 2001 From: khali Date: Mon, 27 Jul 2009 12:07:39 +0000 Subject: Recognize "Hewlett-Packard" as a possible DMI vendor string for HP. Orginal patch from Thomas Hiller (HP). --- AUTHORS | 1 + dmioem.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 79c2800..0dbd0a3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -69,3 +69,4 @@ Sofian Brabez Vincent Pelletier Andreas Gruenbacher Lin Li +Thomas Hiller diff --git a/dmioem.c b/dmioem.c index 3c996a9..2dd11c7 100644 --- a/dmioem.c +++ b/dmioem.c @@ -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; } -- cgit v1.2.1