aboutsummaryrefslogtreecommitdiff
path: root/common/xyzModem.c
diff options
context:
space:
mode:
authorPali Rohár2021-08-03 16:28:40 +0200
committerTom Rini2021-09-03 14:32:40 -0400
commitf05d69bd0a264d622efef9649187946cfbccb930 (patch)
tree26dfed911f9efa0b966632ceafe9e7a993eb68e6 /common/xyzModem.c
parent15c27a5a223717041d4acba8a07db846df674073 (diff)
xyz-modem: Put xyzModem_stream_close debug diagnostic message into ZM_DEBUG()
This is how all other debug / diagnostic messages are handled. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'common/xyzModem.c')
-rw-r--r--common/xyzModem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c
index 631c44e11ad..c200c9ff917 100644
--- a/common/xyzModem.c
+++ b/common/xyzModem.c
@@ -608,10 +608,10 @@ xyzModem_stream_read (char *buf, int size, int *err)
void
xyzModem_stream_close (int *err)
{
- diag_printf
+ ZM_DEBUG (zm_dprintf
("xyzModem - %s mode, %d(SOH)/%d(STX)/%d(CAN) packets, %d retries\n",
xyz.crc_mode ? "CRC" : "Cksum", xyz.total_SOH, xyz.total_STX,
- xyz.total_CAN, xyz.total_retries);
+ xyz.total_CAN, xyz.total_retries));
ZM_DEBUG (zm_flush ());
}