Rename 'probe' to 'channel' in most places.
[sigrok-cli.git] / input.c
diff --git a/input.c b/input.c
index c483546000897a1a1c823f9052543a6327ab0e01..8cbfbc7edf17940e2093778a4def4d398fe62e59 100644 (file)
--- a/input.c
+++ b/input.c
@@ -131,7 +131,7 @@ static void load_input_file_format(void)
                }
        }
 
-       if (select_probes(in->sdi) != SR_OK)
+       if (select_channels(in->sdi) != SR_OK)
                return;
 
        sr_session_new();
@@ -165,7 +165,7 @@ void load_input_file(void)
                        return;
                }
                sdi = sessions->data;
-               if (select_probes(sdi) != SR_OK) {
+               if (select_channels(sdi) != SR_OK) {
                        sr_session_destroy();
                        return;
                }