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