X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;fp=src%2Fhwdriver.c;h=0700276cb84db77f39ebdd0ee6e88ca5be9d89c7;hb=6433156c3275df933e4bf6dcfb020c91fca0ae86;hp=fe8ac457f7009c477da83c83ff22fb74b318d65b;hpb=6d9da8efbf1429301922eb7ab1551866362544ab;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index fe8ac457..0700276c 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -602,7 +602,7 @@ static int check_key(const struct sr_dev_driver *driver, if (sr_config_list(driver, sdi, cg, SR_CONF_DEVICE_OPTIONS, &gvar_opts) != SR_OK) { /* Driver publishes no options. */ - sr_err("No options available%s.", srci->id, suffix); + sr_err("No options available%s.", suffix); return SR_ERR_ARG; } opts = g_variant_get_fixed_array(gvar_opts, &num_opts, sizeof(uint32_t));