brymen-dmm: Use port name instead of fd in debug message.

This commit is contained in:
Martin Ling 2013-12-07 19:17:49 +00:00
parent 6936af3292
commit af473e0eb2
1 changed files with 2 additions and 2 deletions

View File

@ -186,8 +186,8 @@ SR_PRIV int brymen_stream_detect(struct sr_serial_dev_inst *serial,
maxlen = *buflen; maxlen = *buflen;
sr_dbg("Detecting packets on FD %d (timeout = %" PRIu64 sr_dbg("Detecting packets on %s (timeout = %" PRIu64
"ms, baudrate = %d).", serial->fd, timeout_ms, baudrate); "ms, baudrate = %d).", serial->port, timeout_ms, baudrate);
/* Assume 8n1 transmission. That is 10 bits for every byte. */ /* Assume 8n1 transmission. That is 10 bits for every byte. */
byte_delay_us = 10 * (1000000 / baudrate); byte_delay_us = 10 * (1000000 / baudrate);