From: Ouyang Changchun Date: Mon, 6 Jul 2015 02:26:52 +0000 (+0800) Subject: examples/vhost: fix comment and log X-Git-Tag: spdx-start~8706 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=29c0f3c8979e5ce6381aa1d0022418c654264ba0;p=dpdk.git examples/vhost: fix comment and log It fixes the wrong log info when failing to unregister vhost driver. Signed-off-by: Changchun Ouyang Acked-by: Huawei Xie --- diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 7863dcf45a..56a5c70845 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -3051,10 +3051,10 @@ main(int argc, char *argv[]) if (mergeable == 0) rte_vhost_feature_disable(1ULL << VIRTIO_NET_F_MRG_RXBUF); - /* Register CUSE device to handle IOCTLs. */ + /* Register vhost(cuse or user) driver to handle vhost messages. */ ret = rte_vhost_driver_register((char *)&dev_basename); if (ret != 0) - rte_exit(EXIT_FAILURE,"CUSE device setup failure.\n"); + rte_exit(EXIT_FAILURE, "vhost driver register failure.\n"); rte_vhost_driver_callback_register(&virtio_net_device_ops);