kopia lustrzana https://github.com/Hamlib/Hamlib
Improve error output in easycom.c to show message
rodzic
3a6073d401
commit
a3676e0e3b
|
@ -77,8 +77,8 @@ easycomm_transaction(ROT *rot, const char *cmdstr, char *data, size_t data_len)
|
||||||
|
|
||||||
if (retval < 0)
|
if (retval < 0)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s read_string failed with status %d\n", __func__,
|
rig_debug(RIG_DEBUG_TRACE, "%s read_string failed with status %d:%s\n", __func__,
|
||||||
retval);
|
retval, strerror(retval));
|
||||||
goto transaction_quit;
|
goto transaction_quit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Ładowanie…
Reference in New Issue