summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-12-04 13:43:45 -0800
committerDave Barach <openvpp@barachs.net>2018-12-05 15:37:13 +0000
commit955bfbbb6968bdc99171bdebcda6dbe605af2004 (patch)
treefd20134aa69a7e644466c29d37a1514d73a6c00b /src/vcl/vppcom.c
parent4af830cd7b4a11bb84840183f7eebd6fb43497a6 (diff)
ldp: avoid calling write in destructors
Change-Id: Ia9c3d7a68a23dc4ab3be06f88fdfb053db422372 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r--src/vcl/vppcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 07136e9c6c8..dbb0d657b8d 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -862,8 +862,8 @@ vppcom_app_create (char *app_name)
if (vcm->is_init)
{
- clib_warning ("vcl<%u> already initialized", getpid ());
- return -1;
+ VDBG (1, "already initialized");
+ return VPPCOM_EEXIST;
}
vcm->is_init = 1;