* we don't want it. */
return TRUE;
/* Got 0x10, "measurement ready". */
- if (serial_write_blocking(serial, "\x20", 1) == -1)
- sr_err("unable to send command: %s", strerror(errno));
+ if (serial_write_blocking(serial, "\x20", 1) < 1)
+ sr_err("unable to send command");
else {
devc->state = COMMAND_SENT;
devc->buflen = 0;