aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-10-23 15:23:09 +0000
committerGerrit Code Review <gerrit@fd.io>2019-10-23 15:23:09 +0000
commitcf3d6ef0cbda50c9917421213a77097250f3d67b (patch)
tree1cff039e162cd21a192cce43d3bf7b834ca43c94 /ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c
parentfba3b02aecd0c20af67b37e9e55e28158e7fc800 (diff)
parentb8eca5937fc110e85d426cefba4feff00a20a04a (diff)
Merge "[HICN-350] Minor cleanup in control API"
Diffstat (limited to 'ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c')
-rw-r--r--ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c
index 3ebbee4a1..2fdc3f7c3 100644
--- a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c
+++ b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c
@@ -221,8 +221,8 @@ int hl_on_event(interface_t * interface, const facelet_t * facelet)
ERROR("Face to update has not been found");
goto ERR;
}
- char conn_id_or_name[NAME_LEN];
- snprintf(conn_id_or_name, NAME_LEN, "%d", face_found->id);
+ char conn_id_or_name[SYMBOLIC_NAME_LEN];
+ snprintf(conn_id_or_name, SYMBOLIC_NAME_LEN, "%d", face_found->id);
free(face_found);
printf("Face id = %d\n", face_found->id);