diff options
author | Shawn Nematbakhsh <shawnn@google.com> | 2013-02-25 12:12:05 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-03-21 23:23:31 +0100 |
commit | c3221183ee4c5280103238a0068086479cf31ded (patch) | |
tree | 519f707a9261843fb45b0242bb9853a62694e9fc | |
parent | 71c7cdc8f40d9dc10c8cf44f8114d45ea54c8fae (diff) | |
download | coreboot-c3221183ee4c5280103238a0068086479cf31ded.tar.xz |
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>
-rw-r--r-- | payloads/libpayload/libcbfs/cbfs_core.c | 2 | ||||
-rw-r--r-- | 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; } |