summaryrefslogtreecommitdiffstats
path: root/examples/ip_pipeline/config_parse_tm.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ip_pipeline/config_parse_tm.c')
-rw-r--r--examples/ip_pipeline/config_parse_tm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ip_pipeline/config_parse_tm.c b/examples/ip_pipeline/config_parse_tm.c
index e75eed71..1c945c9c 100644
--- a/examples/ip_pipeline/config_parse_tm.c
+++ b/examples/ip_pipeline/config_parse_tm.c
@@ -352,7 +352,7 @@ tm_cfgfile_load_sched_subport(
char name[CFG_NAME_LEN + 1];
profile = atoi(entries[j].value);
- strncpy(name,
+ memcpy(name,
entries[j].name,
sizeof(name));
n_tokens = rte_strsplit(