Improve ser_open error message

pull/795/head
Mike Black W9MDB 2021-08-30 10:01:36 -05:00
rodzic 5c00d46cc3
commit 9032e3e58b
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);
}