Author: mkarcher Date: Fri Feb 12 06:44:18 2010 New Revision: 896 URL: http://flashrom.org/trac/coreboot/changeset/896
Log: Fix DMI match logic
This bug slipped in on changing back match-specific to match-any
Signed-off-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/dmi.c
Modified: trunk/dmi.c ============================================================================== --- trunk/dmi.c Fri Feb 12 00:03:53 2010 (r895) +++ trunk/dmi.c Fri Feb 12 06:44:18 2010 (r896) @@ -162,7 +162,8 @@ return 0;
for (i = 0;i < DMI_ID_INVALID; i++) - return dmi_compare(dmistrings[i], pattern); + if(dmi_compare(dmistrings[i], pattern)) + return 1;
return 0; }