From: Stephen Hemminger Date: Wed, 24 Apr 2019 16:46:19 +0000 (-0700) Subject: eal: fix formatting of hotplug error message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4e2fdf376011d2e2e274bf86167789aa4d41ae4a;hp=8f8f876bd76f9ea996f0e80f32137aa9c2c2071a;p=dpdk.git eal: fix formatting of hotplug error message This message was missing newline, and should capitalize "Cannot" like all the others in this area. Fixes: ac9e4a17370f ("eal: support attach/detach shared device from secondary") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Acked-by: Rami Rosen --- diff --git a/lib/librte_eal/common/hotplug_mp.c b/lib/librte_eal/common/hotplug_mp.c index 4052a5c7fb..04616519cd 100644 --- a/lib/librte_eal/common/hotplug_mp.c +++ b/lib/librte_eal/common/hotplug_mp.c @@ -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;