num_devices = g_slist_length(devices);
if (num_devices > 1) {
- g_critical("%d devices found. Use --list-devices to show them, "
+ g_critical("%d devices found. Use --scan to show them, "
"and select one to show.", num_devices);
return;
}
static FILE *outfile = NULL;
GSList *l;
GString *out;
- GVariant *gvar;
int sample_size, ret;
uint64_t samplerate, output_len, filter_out_len;
uint8_t *output_buf, *filter_out;
unitsize = (logic_probelist->len + 7) / 8;
#ifdef HAVE_SRD
+ GVariant *gvar;
if (opt_pds && logic_probelist->len) {
if (sr_config_get(sdi->driver, SR_CONF_SAMPLERATE,
&gvar, sdi) != SR_OK) {