]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net: remove redundant new line from logs
[dpdk.git] / drivers / net / virtio / virtio_user / virtio_user_dev.c
index 6617bc8e7ede293c1c649c35b8775195e9581e3d..21ed00d719dbf9aeca5a4e1386f9d84633ea32f5 100644 (file)
@@ -62,7 +62,7 @@ virtio_user_create_queue(struct virtio_user_dev *dev, uint32_t queue_sel)
         */
        callfd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
        if (callfd < 0) {
-               PMD_DRV_LOG(ERR, "callfd error, %s\n", strerror(errno));
+               PMD_DRV_LOG(ERR, "callfd error, %s", strerror(errno));
                return -1;
        }
        file.index = queue_sel;
@@ -105,7 +105,7 @@ virtio_user_kick_queue(struct virtio_user_dev *dev, uint32_t queue_sel)
         */
        kickfd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
        if (kickfd < 0) {
-               PMD_DRV_LOG(ERR, "kickfd error, %s\n", strerror(errno));
+               PMD_DRV_LOG(ERR, "kickfd error, %s", strerror(errno));
                return -1;
        }
        file.index = queue_sel;