From 05bb0a0309edeabad75a4cda91fe17e007115e26 Mon Sep 17 00:00:00 2001 From: Xo Wang Date: Wed, 7 Dec 2016 11:13:35 -0800 Subject: 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 --- libpdbg/bmcfsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpdbg') 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; } -- cgit v1.2.1