From 988d4444d44814fa3325795154911f420319ac76 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 22 Mar 2024 16:35:52 +0200 Subject: [PATCH] mgmtd: fix a couple of log messages Signed-off-by: Igor Ryzhov --- lib/mgmt_be_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c index 5896db1e5859..f483d48d8d0e 100644 --- a/lib/mgmt_be_client.c +++ b/lib/mgmt_be_client.c @@ -880,7 +880,7 @@ static enum nb_error be_client_send_tree_data_batch(const struct lyd_node *tree, 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; }