const struct sr_option **options;
const struct sr_transform *t;
GHashTable *fmtargs, *fmtopts;
- int size;
char *fmtspec;
if (!opt_transform_module)
cg = select_channel_group(sdi);
if ((ret = maybe_config_set(sr_dev_inst_driver_get(sdi), sdi, cg,
src.key, src.data)) != SR_OK) {
- g_critical("Failed to set device option '%s'.", (char *)key);
+ g_critical("Failed to set device option '%s': %s.",
+ (char *)key, sr_strerror(ret));
return ret;
}
}