git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/octeontx: support fast mbuf free
[dpdk.git]
/
lib
/
librte_pipeline
/
rte_pipeline.c
diff --git
a/lib/librte_pipeline/rte_pipeline.c
b/lib/librte_pipeline/rte_pipeline.c
index
2c047a8
..
f5f397d
100644
(file)
--- a/
lib/librte_pipeline/rte_pipeline.c
+++ b/
lib/librte_pipeline/rte_pipeline.c
@@
-214,7
+214,7
@@
rte_pipeline_create(struct rte_pipeline_params *params)
}
/* Save input parameters */
- s
nprintf(p->name, RTE_PIPELINE_MAX_NAME_SZ, "%s", params->name
);
+ s
trlcpy(p->name, params->name, RTE_PIPELINE_MAX_NAME_SZ
);
p->socket_id = params->socket_id;
p->offset_port_id = params->offset_port_id;