]> sigrok.org Git - libsigrok.git/blobdiff - hardware/radioshack-dmm/api.c
radioshack-dmm: Move some stuff out of .h file.
[libsigrok.git] / hardware / radioshack-dmm / api.c
index 3a8f8e6539438d76323c85b0e2d970728ada2eb8..a920d3a93f0b315b5e6368e28f38a8785af36ccf 100644 (file)
@@ -102,7 +102,7 @@ static GSList *rs_22_812_scan(const char *conn, const char *serialcomm)
        const struct rs_22_812_packet *rs_packet;
 
        if ((fd = serial_open(conn, O_RDONLY | O_NONBLOCK)) < 0) {
-               sr_err("Unable to open '%s': %s.", conn, fd);
+               sr_err("Unable to open '%s': %d.", conn, fd);
                return NULL;
        }