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:
parent
d0885cb781
commit
c0c055f5f7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user