From: Bert Vermeulen Date: Mon, 21 Sep 2015 10:39:33 +0000 (+0200) Subject: scpi/libgpib: Fix format argument in error message. X-Git-Tag: libsigrok-0.4.0~258 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=27cd728f8a52026be5d83890c3d911fa29ee62f9;p=libsigrok.git scpi/libgpib: Fix format argument in error message. --- diff --git a/src/scpi/scpi_libgpib.c b/src/scpi/scpi_libgpib.c index 67d6b003..31522eb1 100644 --- a/src/scpi/scpi_libgpib.c +++ b/src/scpi/scpi_libgpib.c @@ -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; }