]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/link-mso19/protocol.c
Fix #442 by renaming sr_dev_driver.priv to .context
[libsigrok.git] / src / hardware / link-mso19 / protocol.c
index 148f0ba18933fd80ec26bd2ee171be379e582097..ca85ffaf60dfd920599446b9fe42871430bfedbc 100644 (file)
@@ -357,7 +357,7 @@ SR_PRIV int mso_receive_data(int fd, int revents, void *cb_data)
        GSList *l;
        int i;
 
-       struct drv_context *drvc = di->priv;
+       struct drv_context *drvc = di->context;
 
        /* Find this device's devc struct by its fd. */
        struct dev_context *devc = NULL;