X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fscpi%2Fscpi_libgpib.c;h=2f3256be948e2eae404d02cda0e38b4391bab465;hb=74c4c1747f7e2f9220f86e90d903a1ca595de22a;hp=cab72df720f426bfcfc9f7f19909bb9862da7e03;hpb=8b0ad3a55977fe90942d761ae4a075399b323f08;p=libsigrok.git diff --git a/src/scpi/scpi_libgpib.c b/src/scpi/scpi_libgpib.c index cab72df7..2f3256be 100644 --- a/src/scpi/scpi_libgpib.c +++ b/src/scpi/scpi_libgpib.c @@ -118,8 +118,9 @@ static int scpi_gpib_read_data(void *priv, char *buf, int maxlen) if (ibsta & ERR) { - sr_err("Error while reading SCPI response: iberr = %s.", - gpib_error_string(iberr)); + sr_err("Error while reading SCPI response: " + "iberr = %s, ibsta = %d.", + gpib_error_string(iberr), ibsta); return SR_ERR; }