X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hwplugin.c;h=412cf2d68ab5b34e22f70a36543b61d75afd13a6;hb=a76983fd207554de93adabfd33d2abf8d0f3662a;hp=76d2b80c8a79ba9e01fb5f6752e9a19eb6f319cd;hpb=f4314d7e0611917bdc7713dbffe17559490666d6;p=libsigrok.git diff --git a/hwplugin.c b/hwplugin.c index 76d2b80c..412cf2d6 100644 --- a/hwplugin.c +++ b/hwplugin.c @@ -25,6 +25,7 @@ #include #include #include +#include /* The list of loaded plugins lives here. */ GSList *plugins; @@ -137,7 +138,7 @@ struct sr_device_instance *sr_get_device_instance(GSList *device_instances, if (sdi->index == device_index) return sdi; } - g_warning("could not find device index %d instance", device_index); + sr_warn("could not find device index %d instance", device_index); return NULL; }