mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
Use rig_debug() instead of sending error messages to stdout
This commit is contained in:
parent
ad8707c74c
commit
632746cf91
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue