diff options
author | Xo Wang <xow@google.com> | 2016-12-07 11:13:35 -0800 |
---|---|---|
committer | Xo Wang <xow@google.com> | 2016-12-07 11:13:35 -0800 |
commit | 05bb0a0309edeabad75a4cda91fe17e007115e26 (patch) | |
tree | 51e11a52c0508b01bca455673cfd99c652bb7a00 /libpdbg | |
parent | 3172dd9a17dc9aabb8dc6438b849db148728fb0c (diff) | |
download | pdbg-05bb0a0309edeabad75a4cda91fe17e007115e26.tar.gz pdbg-05bb0a0309edeabad75a4cda91fe17e007115e26.zip |
bmcfsi: Report read response CRC errors to stderr
Putting CRC error messages into stderr helps with scripting that parses
the output of pdbg.
Signed-off-by: Xo Wang <xow@google.com>
Diffstat (limited to 'libpdbg')
-rw-r--r-- | libpdbg/bmcfsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c index 93c18f6..0dde38f 100644 --- a/libpdbg/bmcfsi.c +++ b/libpdbg/bmcfsi.c @@ -331,7 +331,7 @@ static enum fsi_result fsi_read_resp(uint64_t *result, int len) } if (crc != 0) { - printf("CRC error: 0x%llx\n", resp); + fprintf(stderr, "CRC error: 0x%llx\n", resp); return FSI_MERR_C; } |