X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.c;h=2aec20593269085241b28ccfb5ab9c205030e597;hp=64406009e8f43da5ce75236e1959b415c3f84efa;hb=e2dd5a767b7ac36614ecb626216fcce6ebe22585;hpb=4d16724058cbc97eac0f1a9e32322150777a7323 diff --git a/sigrok-cli.c b/sigrok-cli.c index 6440600..2aec205 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -1044,7 +1044,7 @@ int main(int argc, char **argv) printf("Cannot stack protocol decoder '%s': instance not found.\n", pds[i]); return 1; } - if ((ret = srd_inst_stack(di_from, di_to) != SRD_OK)) + if ((ret = srd_inst_stack(di_from, di_to)) != SRD_OK) return ret; /* Don't show annotation from this PD. Only the last PD in