diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-15 06:36:00 -0500 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2012-08-15 14:06:07 +0200 |
commit | 811d661f3aabaed97e3367dbb45a96244432b3f8 (patch) | |
tree | a82116e86fa81399b7a0e49df096b00a49be895a /payloads | |
parent | 2efabba46886d89c4b8593c39cd036ff849620d9 (diff) |
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>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/coreinfo/coreboot_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |