ring: fix an error message

Log message should end with newline.

Fixes: 4e32101f9b01 ("ring: support freeing")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
This commit is contained in:
Stephen Hemminger 2019-04-02 08:30:26 -07:00 committed by Thomas Monjalon
parent d0885cb781
commit c0c055f5f7

View File

@ -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;
}