]> sigrok.org Git - sigrok-cli.git/commitdiff
srd/cli/qt:s/decoders/decoder/ for consistency.
authorUwe Hermann <redacted>
Fri, 16 Mar 2012 14:25:53 +0000 (15:25 +0100)
committerUwe Hermann <redacted>
Sun, 18 Mar 2012 13:34:23 +0000 (14:34 +0100)
sigrok-cli.c

index fc993b48a76b8d20dd02b3c33c75ce6a321c0c74..a2db18f9b1703eaffb52fafc7410b8839d5eb47f 100644 (file)
@@ -115,8 +115,8 @@ static void show_version(void)
 
        if (srd_init(NULL) == SRD_OK) {
                printf("Supported protocol decoders:\n");
-               srd_decoders_load_all();
-               for (l = srd_decoders_list(); l; l = l->next) {
+               srd_decoder_load_all();
+               for (l = srd_decoder_list(); l; l = l->next) {
                        dec = l->data;
                        printf("  %-20s %s\n", dec->id, dec->longname);
                }