Commit ae328597 authored by Frank Stettner's avatar Frank Stettner

lipgpib: Enhanced error message

parent 767ca135
...@@ -118,8 +118,9 @@ static int scpi_gpib_read_data(void *priv, char *buf, int maxlen) ...@@ -118,8 +118,9 @@ static int scpi_gpib_read_data(void *priv, char *buf, int maxlen)
if (ibsta & ERR) if (ibsta & ERR)
{ {
sr_err("Error while reading SCPI response: iberr = %s.", sr_err("Error while reading SCPI response: "
gpib_error_string(iberr)); "iberr = %s, ibsta = %d.",
gpib_error_string(iberr), ibsta);
return SR_ERR; return SR_ERR;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment