summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-09-23 13:01:14 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-09-28 09:33:20 +0000
commit9dcf4577075a7dea44fbfcefaa7555ac5ba5beb1 (patch)
treea5613912289edcc8eb3c263201fc1f471c7a8dee /payloads/libpayload
parentf611fcfacac5be14a51e04ae4d0b1e25cd5439c0 (diff)
downloadcoreboot-9dcf4577075a7dea44fbfcefaa7555ac5ba5beb1.tar.xz
cbfs: fix debug message
BUG=none BRANCH=tot TEST=built for Samus with debugging enabled Change-Id: I0b555d018f8c2eb1b51519a6227298c8d5d58a42 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 5908e4b8ffc66e6ecc7cae78cf10055fbd727c81 Original-Change-Id: Ifd049111fee540789dabb1d7653568b80405b77d Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/302131 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11713 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/libcbfs/cbfs_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c
index 153dc8a939..4c898c62ac 100644
--- a/payloads/libpayload/libcbfs/cbfs_core.c
+++ b/payloads/libpayload/libcbfs/cbfs_core.c
@@ -220,7 +220,8 @@ void *cbfs_get_file_content(struct cbfs_media *media, const char *name,
struct cbfs_file_attr_compression *comp =
(struct cbfs_file_attr_compression *)attr;
compression_algo = ntohl(comp->compression);
- DEBUG("File '%s' is compressed (alg=%d)\n", compression_algo);
+ DEBUG("File '%s' is compressed (alg=%d)\n",
+ name, compression_algo);
*sz = ntohl(comp->decompressed_size);
}