serial.c: Minor cosmetic fix.

This commit is contained in:
Uwe Hermann 2013-11-19 20:09:59 +01:00
parent a82635f252
commit 1a54044299
1 changed files with 2 additions and 1 deletions

View File

@ -253,7 +253,8 @@ SR_PRIV int serial_read(struct sr_serial_dev_inst *serial, void *buf,
// return SR_ERR; // return SR_ERR;
} }
sr_spew("Read %d/%d bytes (fd %d).", ret, count, serial->fd); if (ret >= 0)
sr_spew("Read %d/%d bytes (fd %d).", ret, count, serial->fd);
return ret; return ret;
} }