X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-cli.c;h=2aec20593269085241b28ccfb5ab9c205030e597;hb=e2dd5a767b7ac36614ecb626216fcce6ebe22585;hp=64406009e8f43da5ce75236e1959b415c3f84efa;hpb=b156de5c04a3e6906ecbbaf0b8b47cf61a152e82;p=sigrok-cli.git 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