]> sigrok.org Git - libsigrok.git/blobdiff - src/scpi/scpi_libgpib.c
scpi/libgpib: Fix format argument in error message.
[libsigrok.git] / src / scpi / scpi_libgpib.c
index 67d6b003810f0290905837ae04397dce17aea4b7..31522eb19bcff871fba915ecfc13e1bd2111e2a3 100644 (file)
@@ -92,7 +92,7 @@ static int scpi_gpib_send(void *priv, const char *command)
        if (ibcnt < len)
        {
                sr_err("Failed to send all of SCPI command: '%s': "
-                               "len = %d, ibcnt = .", command, len, ibcnt);
+                               "len = %d, ibcnt = %d.", command, len, ibcnt);
                return SR_ERR;
        }