From 478a782d1c7aa2da82e144671dc9feb89729b333 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 29 May 2012 22:35:38 +0200 Subject: [PATCH 1/1] cli: Fix compile error. --- sigrok-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sigrok-cli.c b/sigrok-cli.c index 03bfbda..aaf0c36 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -615,7 +615,7 @@ int setup_pd_stack(void) * the stack will be left on the annotation list (unless * the annotation list was specifically provided). */ - if (!opt_pd_annotation) + if (!opt_pd_annotations) g_hash_table_remove(pd_ann_visible, di_from->inst_id); @@ -717,7 +717,7 @@ int setup_output_format(void) return 0; } -void show_pd_annotation(struct srd_proto_data *pdata, void *cb_data) +void show_pd_annotations(struct srd_proto_data *pdata, void *cb_data) { int i; char **annotations; -- 2.30.2