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: add rte prefix to ESP structure
[dpdk.git]
/
app
/
test
/
test_eal_flags.c
diff --git
a/app/test/test_eal_flags.c
b/app/test/test_eal_flags.c
index
d626dd7
..
9112c96
100644
(file)
--- a/
app/test/test_eal_flags.c
+++ b/
app/test/test_eal_flags.c
@@
-58,7
+58,7
@@
get_hugepage_path(char * src, int src_len, char * dst, int dst_len)
return 0;
if (strncmp(tokens[2], "hugetlbfs", sizeof("hugetlbfs")) == 0) {
- s
nprintf(dst, dst_len, "%s", tokens[1]
);
+ s
trlcpy(dst, tokens[1], dst_len
);
return 1;
}
return 0;