Skip to contentSkip to conversation

eal: fix formatting of hotplug error message

PATCH Applied Stephen Hemminger 3 participants 3 messages Apr 24, 2019 – May 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eal: fix formatting of hotplug error message

This message was missing newline, and should capitalize "Cannot" like all the others in this area.

---
 lib/librte_eal/common/hotplug_mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/common/hotplug_mp.c +1 -1
index 4052a5c7fb71..04616519cde0 100644
@@ -376,7 +376,7 @@ int eal_dev_hotplug_request_to_primary(struct eal_dev_mp_req *req)
 
 	ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts);
 	if (ret || mp_reply.nb_received != 1) {
-		RTE_LOG(ERR, EAL, "cannot send request to primary");
+		RTE_LOG(ERR, EAL, "Cannot send request to primary\n");
 		if (!ret)
 			return -1;
 		return ret;
Signature · 1 line
2.20.1