cbfs: Change false ERROR print to a WARNING.

Change "ERROR" to "WARNING" -- not finding the indicated file is usually
not a fatal error.

Change-Id: I0600964360ee27484c393125823e833f29aaa7e7
Signed-off-by: Shawn Nematbakhsh <shawnn@google.com>
Reviewed-on: http://review.coreboot.org/2833
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Shawn Nematbakhsh 2013-02-25 12:12:05 -08:00 committed by Ronald G. Minnich
parent 71c7cdc8f4
commit c3221183ee
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ struct cbfs_file *cbfs_get_file(struct cbfs_media *media, const char *name)
offset += align - (offset % align);
}
media->close(media);
ERROR("ERROR: Not found.\n");
LOG("WARNING: Not found.\n");
return NULL;
}

View File

@ -168,7 +168,7 @@ struct cbfs_file *cbfs_get_file(struct cbfs_media *media, const char *name)
offset += align - (offset % align);
}
media->close(media);
ERROR("ERROR: Not found.\n");
LOG("WARNING: Not found.\n");
return NULL;
}