From: Stephen Hemminger Date: Tue, 2 Apr 2019 15:30:26 +0000 (-0700) Subject: ring: fix an error message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c0c055f5f773adca467d256298d8e777024f085f;p=dpdk.git ring: fix an error message Log message should end with newline. Fixes: 4e32101f9b01 ("ring: support freeing") Signed-off-by: Stephen Hemminger Reviewed-by: Rami Rosen --- diff --git a/lib/librte_ring/rte_ring.c b/lib/librte_ring/rte_ring.c index d215aceccf..550549db39 100644 --- a/lib/librte_ring/rte_ring.c +++ b/lib/librte_ring/rte_ring.c @@ -189,7 +189,8 @@ rte_ring_free(struct rte_ring *r) * therefore, there is no memzone to free. */ if (r->memzone == NULL) { - RTE_LOG(ERR, RING, "Cannot free ring (not created with rte_ring_create()"); + RTE_LOG(ERR, RING, + "Cannot free ring, not created with rte_ring_create()\n"); return; }