Hello Eric Peers, Rob Barnes,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/39598
to review the following change.
Change subject: util/amdfwtool : Fix file open error msg ......................................................................
util/amdfwtool : Fix file open error msg
Print out the name of the file that failed to open.
BUG=none TEST=rerun build-board.sh with missing files BRANCH=none
Signed-off-by: Eric Peers epeers@google.com Change-Id: Id8543f25ea827fc8764e0315434b834e65bfa7fb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+... Reviewed-by: Rob Barnes robbarnes@google.com Commit-Queue: Rob Barnes robbarnes@google.com --- M util/amdfwtool/amdfwtool.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/39598/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 5bcc0a7..4f1e8ba 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -575,7 +575,8 @@
fd = open(src_file, O_RDONLY); if (fd < 0) { - printf("Error: %s\n", strerror(errno)); + printf("Error opening file: %s: %s\n", + src_file, strerror(errno)); return -1; }