DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] examples/kni: add CR character at print log
@ 2022-03-07  9:05 Tianli Lai
  2022-03-07 14:52 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Tianli Lai @ 2022-03-07  9:05 UTC (permalink / raw)
  To: dev

add CR character at print link state information

Signed-off-by: Tianli Lai <laitianli@tom.com>
---
 examples/kni/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/kni/main.c b/examples/kni/main.c
index f5b20a7b62..e99ef5c38a 100644
--- a/examples/kni/main.c
+++ b/examples/kni/main.c
@@ -719,7 +719,7 @@ log_link_state(struct rte_kni *kni, int prev, struct rte_eth_link *link)
 
 	rte_eth_link_to_str(link_status_text, sizeof(link_status_text), link);
 	if (prev != link->link_status)
-		RTE_LOG(INFO, APP, "%s NIC %s",
+		RTE_LOG(INFO, APP, "%s NIC %s\n",
 			rte_kni_get_name(kni),
 			link_status_text);
 }
-- 
2.27.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-08 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07  9:05 [PATCH] examples/kni: add CR character at print log Tianli Lai
2022-03-07 14:52 ` Ferruh Yigit
2022-03-08 13:29   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).