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
devtools: pass custom options to checkpatch
[dpdk.git]
/
lib
/
librte_distributor
/
rte_distributor.c
diff --git
a/lib/librte_distributor/rte_distributor.c
b/lib/librte_distributor/rte_distributor.c
index
d505983
..
208abfb
100644
(file)
--- a/
lib/librte_distributor/rte_distributor.c
+++ b/
lib/librte_distributor/rte_distributor.c
@@
-625,7
+625,7
@@
rte_distributor_create_v1705(const char *name,
}
d = mz->addr;
- s
nprintf(d->name, sizeof(d->name), "%s", name
);
+ s
trlcpy(d->name, name, sizeof(d->name)
);
d->num_workers = num_workers;
d->alg_type = alg_type;