dmidecode/dmidecode-add-hewlett-packard-to-dmioem.patch

12 lines
283 B
Diff

--- dmidecode/dmioem.c~ 2008/10/28 09:41:07 1.9
+++ dmidecode/dmioem.c 2009/07/27 12:07:39 1.10
@@ -41,7 +41,7 @@
*/
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;
}