]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hung-chang-dso-2100/protocol.c
Fix log varargs bugs indicated by -Wformat
[libsigrok.git] / src / hardware / hung-chang-dso-2100 / protocol.c
index 6f997db020389ed30d8abdaee0c05651ecc19c84..022fac7ec456983e2c15edffd6d2783879af6d0f 100644 (file)
@@ -434,7 +434,7 @@ SR_PRIV int hung_chang_dso_2100_poll(int fd, int revents, void *cb_data)
                return TRUE;
 
        if (state != 0x03) {
-               sr_err("Unexpected state 0x%X while checking for trigger");
+               sr_err("Unexpected state 0x%X while checking for trigger", state);
                return FALSE;
        }