X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=ce2ca6554a70776b81a5d45d88fa4c864014896e;hb=4374219bc8c26997bb5c13c57f0babe3a61cd47e;hp=1fe2e5fc218c8aae055e9c3f500325d2bf5e440b;hpb=df823ac4445ed6f708136e208c8b8bd4930f4a9e;p=libsigrok.git diff --git a/device.c b/device.c index 1fe2e5fc..ce2ca655 100644 --- a/device.c +++ b/device.c @@ -210,7 +210,7 @@ SR_API gboolean sr_dev_has_option(const struct sr_dev_inst *sdi, int key) return FALSE; if (sdi->driver->config_list(SR_CONF_DEVICE_OPTIONS, - &gvar, NULL, NULL) != SR_OK) + &gvar, sdi, NULL) != SR_OK) return FALSE; ret = FALSE;