]> sigrok.org Git - libsigrok.git/commitdiff
scpi/libgpib: Fix format argument in error message.
authorBert Vermeulen <redacted>
Mon, 21 Sep 2015 10:39:33 +0000 (12:39 +0200)
committerBert Vermeulen <redacted>
Mon, 21 Sep 2015 11:30:33 +0000 (13:30 +0200)
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;
        }