Improve ser_open error message

pull/788/head
Mike Black W9MDB 2021-08-30 10:01:36 -05:00 zatwierdzone przez Wouter van Gulik
rodzic 20221524f8
commit d48f1aed42
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -76,8 +76,8 @@ int HAMLIB_API port_open(hamlib_port_t *p)
if (status < 0)
{
rig_debug(RIG_DEBUG_ERR, "%s: serial_open(%s) status=%d\n", __func__,
p->pathname, status);
rig_debug(RIG_DEBUG_ERR, "%s: serial_open(%s) status=%d, err=%s\n", __func__,
p->pathname, status, strerror(errno));
RETURNFUNC(status);
}