From c3221183ee4c5280103238a0068086479cf31ded Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Mon, 25 Feb 2013 12:12:05 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/2833 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Ronald G. Minnich --- payloads/libpayload/libcbfs/cbfs_core.c | 2 +- src/lib/cbfs_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c index 2ea2771e3a..a714b91367 100644 --- a/payloads/libpayload/libcbfs/cbfs_core.c +++ b/payloads/libpayload/libcbfs/cbfs_core.c @@ -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; } diff --git a/src/lib/cbfs_core.c b/src/lib/cbfs_core.c index 604d5f44ce..9732b829b3 100644 --- a/src/lib/cbfs_core.c +++ b/src/lib/cbfs_core.c @@ -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; } -- cgit v1.2.3