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/bsd: fix core detection
[dpdk.git]
/
examples
/
qos_sched
/
args.c
diff --git
a/examples/qos_sched/args.c
b/examples/qos_sched/args.c
old mode 100755
(executable)
new mode 100644
(file)
index
42ef5f9
..
ddf9ba4
--- a/
examples/qos_sched/args.c
+++ b/
examples/qos_sched/args.c
@@
-143,7
+143,7
@@
app_cpu_core_count(void)
uint32_t ncores = 0;
for(i = 0; i < RTE_MAX_LCORE; i++) {
- len =
rte_
snprintf(path, sizeof(path), SYS_CPU_DIR, i);
+ len = snprintf(path, sizeof(path), SYS_CPU_DIR, i);
if (len <= 0 || (unsigned)len >= sizeof(path))
continue;