kopia lustrzana https://github.com/Hamlib/Hamlib
Always print error messages to stderr
Do not depend on the debug level set with --verbosepull/1875/head
rodzic
632746cf91
commit
e4c43821d0
|
@ -1584,7 +1584,7 @@ void list_models()
|
||||||
|
|
||||||
if (status != RIG_OK)
|
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);
|
exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2154,7 +2154,7 @@ void list_models()
|
||||||
|
|
||||||
if (status != RIG_OK)
|
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);
|
exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1667,7 +1667,7 @@ void list_models()
|
||||||
|
|
||||||
if (status != RIG_OK)
|
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);
|
exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue