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
eal: save error in string copy
[dpdk.git]
/
lib
/
eal
/
common
/
eal_common_trace.c
diff --git
a/lib/eal/common/eal_common_trace.c
b/lib/eal/common/eal_common_trace.c
index
24e2738
..
7bff1cd
100644
(file)
--- a/
lib/eal/common/eal_common_trace.c
+++ b/
lib/eal/common/eal_common_trace.c
@@
-500,7
+500,6
@@
__rte_trace_point_register(rte_trace_point_t *handle, const char *name,
/* Initialize the trace point */
if (rte_strscpy(tp->name, name, TRACE_POINT_NAME_SIZE) < 0) {
trace_err("name is too long");
- rte_errno = E2BIG;
goto free;
}