cbfs: fix debug mode compilation error
When cbfs debug is enabled, compilation fails because one of the debug messages is using an non-existing variable. BRANCH=nonr BUG=None TEST=compiling with CONFIG_DEBUG_CBFS enabled does not fail anymore. Change-Id: Ic83f5e96cdcb5275ec0b7fadbc901e254a1002ca Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/222897 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
3f6a21afdb
commit
427261fbcf
1 changed files with 1 additions and 2 deletions
|
|
@ -173,8 +173,7 @@ void *cbfs_load_stage_by_offset(struct cbfs_media *media, ssize_t offset)
|
|||
{
|
||||
struct cbfs_stage stage;
|
||||
|
||||
DEBUG("reading stage header: offset=0x%x len=%d type=%d offset=0x%x\n",
|
||||
offset, file.len, file.type, file.offset);
|
||||
DEBUG("reading stage header: offset=0x%x\n", offset);
|
||||
if (cbfs_read(media, &stage, offset, sizeof(stage)) != sizeof(stage)) {
|
||||
ERROR("ERROR: failed to read stage header\n");
|
||||
return CBFS_LOAD_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue