aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-08-16 08:36:19 +0200
committerDave Barach <openvpp@barachs.net>2018-08-16 13:56:11 +0000
commite29cb67b7c731fb513723a7cd35a46cc6e44fbc1 (patch)
tree7fefb946245c4b4212de3e5ecb400216e8c6c8bd
parent9daf8fb6b36f6e23951d6fe479248c092617c402 (diff)
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 <ofabry@cisco.com>
-rw-r--r--src/vpp-api/client/client.c4
1 files changed, 2 insertions, 2 deletions
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);