ring: fix an error message
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 2 Apr 2019 15:30:26 +0000 (08:30 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Apr 2019 16:39:16 +0000 (18:39 +0200)
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>
lib/librte_ring/rte_ring.c

index d215ace..550549d 100644 (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;
        }