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: fix typo in comment of vector function
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_log.c
diff --git
a/lib/librte_eal/common/eal_common_log.c
b/lib/librte_eal/common/eal_common_log.c
index
c660ca6
..
c714a4b
100644
(file)
--- a/
lib/librte_eal/common/eal_common_log.c
+++ b/
lib/librte_eal/common/eal_common_log.c
@@
-184,7
+184,7
@@
rte_log_set_level_pattern(const char *pattern, uint32_t level)
if (rte_logs.dynamic_types[i].name == NULL)
continue;
if (rte_logs.dynamic_types[i].name == NULL)
continue;
- if (fnmatch(pattern, rte_logs.dynamic_types[i].name, 0))
+ if (fnmatch(pattern, rte_logs.dynamic_types[i].name, 0)
== 0
)
rte_logs.dynamic_types[i].loglevel = level;
}
rte_logs.dynamic_types[i].loglevel = level;
}
@@
-335,9
+335,7
@@
static const struct logtype logtype_strings[] = {
};
/* Logging should be first initializer (before drivers and bus) */
};
/* Logging should be first initializer (before drivers and bus) */
-RTE_INIT_PRIO(rte_log_init, LOG);
-static void
-rte_log_init(void)
+RTE_INIT_PRIO(rte_log_init, LOG)
{
uint32_t i;
{
uint32_t i;