From 9dcf4577075a7dea44fbfcefaa7555ac5ba5beb1 Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Wed, 23 Sep 2015 13:01:14 -0700 Subject: cbfs: fix debug message BUG=none BRANCH=tot TEST=built for Samus with debugging enabled Change-Id: I0b555d018f8c2eb1b51519a6227298c8d5d58a42 Signed-off-by: Patrick Georgi Original-Commit-Id: 5908e4b8ffc66e6ecc7cae78cf10055fbd727c81 Original-Change-Id: Ifd049111fee540789dabb1d7653568b80405b77d Original-Signed-off-by: Daisuke Nojiri Original-Reviewed-on: https://chromium-review.googlesource.com/302131 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/11713 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- payloads/libpayload/libcbfs/cbfs_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'payloads') 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); } -- cgit v1.2.3