X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=9cc3b6800691b4debd76555b8b572bb1d20486b7;hb=5097b0d0912165429aceddb5febbf68467b623f5;hp=228727f8e0a782188cbf1d60e08d202963972bbd;hpb=ffedd0bf5d3abb1eae86db68e336285eddf41778;p=libsigrok.git diff --git a/device.c b/device.c index 228727f8..9cc3b680 100644 --- a/device.c +++ b/device.c @@ -424,7 +424,7 @@ SR_API int sr_dev_info_get(const struct sr_dev *dev, int id, const void **data) if (data == NULL) return SR_ERR_ARG; - *data = dev->plugin->get_dev_info(dev->plugin_index, id); + *data = dev->plugin->dev_info_get(dev->plugin_index, id); if (*data == NULL) return SR_ERR;