Fix a couple more debug statements

pull/1330/head
Mike Black W9MDB 2023-05-26 10:53:32 -05:00
rodzic 06f5d8376f
commit 8d465a257e
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -2991,7 +2991,7 @@ int newcat_get_xit(RIG *rig, vfo_t vfo, shortfreq_t *xit)
if (offset == 0)
{
rig_debug(RIG_DEBUG_ERR,
"%s: incorrect length of IF response, expected 27 or 28, got %du", __func__,
"%s: incorrect length of IF response, expected 27 or 28, got %du\n", __func__,
(int)strlen(priv->ret_data));
RETURNFUNC(-RIG_EPROTO);
}
@ -10461,7 +10461,7 @@ int newcat_get_vfo_mode(RIG *rig, vfo_t vfo, rmode_t *vfo_mode)
default:
rig_debug(RIG_DEBUG_ERR,
"%s: incorrect length of IF response, expected 27 or 28, got %d", __func__,
"%s: incorrect length of IF response, expected 27 or 28, got %d\n", __func__,
(int)strlen(priv->ret_data));
RETURNFUNC(-RIG_EPROTO);
}