From: Bert Vermeulen Date: Fri, 22 Feb 2013 21:21:39 +0000 (+0100) Subject: use input API properly X-Git-Tag: sigrok-cli-0.4.0~34 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=41602d35e83390fa01c158cf51bfdb7ba5e713c1;p=sigrok-cli.git use input API properly --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 6512ff7..eba6966 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -1189,7 +1189,7 @@ static void load_input_file_format(void) in->format = input_format; in->param = fmtargs; if (in->format->init) { - if (in->format->init(in) != SR_OK) { + if (in->format->init(in, opt_input_file) != SR_OK) { g_critical("Input format init failed."); exit(1); }