aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinguang Dong <dongjinguang@huawei.com>2017-04-10 16:02:29 +0800
committerJinguang Dong <dongjinguang@huawei.com>2017-04-10 16:02:29 +0800
commit3268d796dfa569a8c18621438d9dd059d255f493 (patch)
tree3a72137b7ce3e8a6ec53174ee6e52dc6bf756cf2
parent945ebe97e8a6812c78398723e46dd52639eccaa5 (diff)
downloadvboot_reference-3268d796dfa569a8c18621438d9dd059d255f493.tar.gz
Fix debug info parameter error
The function of ReadOldKPartFromFileOrDie miss a parameter, just to fix it. Test: mm -j8 Change-Id: I65c0cfb9eb53350cbdacbf02b5e69ed53200382c
-rw-r--r--futility/cmd_vbutil_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/futility/cmd_vbutil_kernel.c b/futility/cmd_vbutil_kernel.c
index c7b3c78c..a1ac5ab8 100644
--- a/futility/cmd_vbutil_kernel.c
+++ b/futility/cmd_vbutil_kernel.c
@@ -193,7 +193,7 @@ static uint8_t *ReadOldKPartFromFileOrDie(const char *filename,
}
Debug("%s size is 0x%" PRIx64 "\n", filename, file_size);
if (file_size < opt_pad)
- Fatal("%s is too small to be a valid kernel blob\n");
+ Fatal("%s is too small to be a valid kernel blob\n", filename);
Debug("Reading %s\n", filename);
fp = fopen(filename, "rb");