From 41602d35e83390fa01c158cf51bfdb7ba5e713c1 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 22 Feb 2013 22:21:39 +0100 Subject: [PATCH] use input API properly --- sigrok-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2