From 811d661f3aabaed97e3367dbb45a96244432b3f8 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 15 Aug 2012 06:36:00 -0500 Subject: 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 Reviewed-on: http://review.coreboot.org/1453 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov --- payloads/coreinfo/coreboot_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/coreinfo') diff --git a/payloads/coreinfo/coreboot_module.c b/payloads/coreinfo/coreboot_module.c index 77a4bb2d8b..e5ba50f851 100644 --- a/payloads/coreinfo/coreboot_module.c +++ b/payloads/coreinfo/coreboot_module.c @@ -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); } -- cgit v1.2.3