X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fserial.c;h=5a1d21af90c4cbebc9a593847f7b0fe1634c51e2;hb=0c632d36be4b7b34addadf0649fea95173fe0f9a;hp=c39b2ca57cbec99c9f330b57aa2834ab071ab8d5;hpb=20af610683e4d7fc22deaa26e7b92730057405cd;p=libsigrok.git diff --git a/hardware/common/serial.c b/hardware/common/serial.c index c39b2ca5..5a1d21af 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -126,6 +126,8 @@ SR_PRIV int serial_open(const char *pathname, int flags) */ sr_dbg("Error opening serial port '%s': %s.", pathname, strerror(errno)); + } else { + sr_dbg("Opened serial port '%s' as FD %d.", pathname, fd); } return fd;