scpi_serial.c: Improve an error message.
This commit is contained in:
parent
0261956fab
commit
0c8aedb543
|
@ -123,7 +123,8 @@ static int scpi_serial_send(void *priv, const char *command)
|
|||
|
||||
result = serial_write_blocking(serial, command, strlen(command), 0);
|
||||
if (result < 0) {
|
||||
sr_err("Error while sending SCPI command: '%s'.", command);
|
||||
sr_err("Error while sending SCPI command '%s': %d.",
|
||||
command, result);
|
||||
return SR_ERR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue