diff --git a/tests/ampctl_parse.c b/tests/ampctl_parse.c index e47b6c1ff..9e443b812 100644 --- a/tests/ampctl_parse.c +++ b/tests/ampctl_parse.c @@ -1584,7 +1584,7 @@ void list_models() if (status != RIG_OK) { - printf("amp_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "amp_list_foreach: error = %s \n", rigerror(status)); exit(2); } diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index ad42193ec..f5a9c1fc8 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -2154,7 +2154,7 @@ void list_models() if (status != RIG_OK) { - printf("rig_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "rig_list_foreach: error = %s \n", rigerror(status)); exit(2); } diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c index bfc3488b7..e7fed60e5 100644 --- a/tests/rotctl_parse.c +++ b/tests/rotctl_parse.c @@ -1667,7 +1667,7 @@ void list_models() if (status != RIG_OK) { - printf("rot_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "rot_list_foreach: error = %s \n", rigerror(status)); exit(2); }