kopia lustrzana https://github.com/Hamlib/Hamlib
Improve ser_open error message
rodzic
5c00d46cc3
commit
9032e3e58b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue