mgmtd: fix a couple of log messages

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 988d4444d4)
This commit is contained in:
Igor Ryzhov 2024-03-22 16:35:52 +02:00 committed by Mergify
parent 11fad42e6f
commit 9f24fe84ac

View File

@ -880,7 +880,7 @@ done:
if (ret)
be_client_send_error(client, args->txn_id, args->req_id, false,
-EINVAL,
"FE cilent %s txn-id %" PRIu64
"BE client %s txn-id %" PRIu64
" error fetching oper state %d",
client->name, args->txn_id, ret);
if (ret != NB_OK || !more)
@ -984,7 +984,7 @@ static void be_client_handle_native_msg(struct mgmt_be_client *client,
txn_id, msg->req_id, msg->code, client->name);
be_client_send_error(client, msg->refer_id, msg->req_id, false,
-1,
"BE cilent %s recv msg unknown txn-id %" PRIu64,
"BE client %s recv msg unknown txn-id %" PRIu64,
client->name, txn_id);
break;
}