From e29cb67b7c731fb513723a7cd35a46cc6e44fbc1 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Thu, 16 Aug 2018 08:36:19 +0200 Subject: Edit some warning messages in vpp-api client - fix one typo: cnacel -> cancel - edit log about returned value to be consistent with others Change-Id: I09560eee8a9da361fa51e35f316d44361292bdb2 Signed-off-by: Ondrej Fabry --- src/vpp-api/client/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vpp-api') diff --git a/src/vpp-api/client/client.c b/src/vpp-api/client/client.c index 16c980e5f87..ab4845d5cb8 100644 --- a/src/vpp-api/client/client.c +++ b/src/vpp-api/client/client.c @@ -318,7 +318,7 @@ vac_connect (char * name, char * chroot_prefix, vac_callback_t cb, vl_set_memory_root_path (chroot_prefix); if ((rv = vl_client_api_map("/vpe-api"))) { - clib_warning ("vl_client_api map rv %d", rv); + clib_warning ("vl_client_api_map returned %d", rv); return rv; } @@ -404,7 +404,7 @@ vac_disconnect (void) } if (pm->timeout_thread_handle) { /* cancel, wake then join the timeout thread */ - clib_warning("vac_disconnect cnacel"); + clib_warning("vac_disconnect cancel"); pm->timeout_loop = 0; set_timeout(0); pthread_join(pm->timeout_thread_handle, (void **) &junk); -- cgit 1.2.3-korg