coreinfo: fix build error (TRIVIAL)

Changes to libpayload, and lack of maintenance to coreinfo, and it no
longer builds. Fix that.

Change-Id: I03497880671f42b5aeb6db08ddf6ce2acd243a18
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/1453
Tested-by: build bot (Jenkins)
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
This commit is contained in:
Alexandru Gagniuc 2012-08-15 06:36:00 -05:00 committed by Anton Kochkov
parent 2efabba468
commit 811d661f3a
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ static void parse_mainboard(unsigned char *ptr)
{
struct cb_mainboard *mb = (struct cb_mainboard *)ptr;
strncpy(cb_info.vendor, cb_mb_vendor_part(mb), sizeof(cb_info.vendor) - 1);
strncpy(cb_info.vendor, cb_mb_vendor_string(mb), sizeof(cb_info.vendor) - 1);
strncpy(cb_info.part, cb_mb_part_string(mb), sizeof(cb_info.part) - 1);
}