From a3676e0e3b7f20f5a85cbbccb6adc0fdcd4a0f96 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 18 Dec 2023 09:05:15 -0600 Subject: [PATCH] Improve error output in easycom.c to show message --- rotators/easycomm/easycomm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rotators/easycomm/easycomm.c b/rotators/easycomm/easycomm.c index af3a9ae69..3007d3491 100644 --- a/rotators/easycomm/easycomm.c +++ b/rotators/easycomm/easycomm.c @@ -77,8 +77,8 @@ easycomm_transaction(ROT *rot, const char *cmdstr, char *data, size_t data_len) if (retval < 0) { - rig_debug(RIG_DEBUG_TRACE, "%s read_string failed with status %d\n", __func__, - retval); + rig_debug(RIG_DEBUG_TRACE, "%s read_string failed with status %d:%s\n", __func__, + retval, strerror(retval)); goto transaction_quit; } else