Skip to contentSkip to conversation

eal:missing newline on RTE_LOG msg

PATCH Applied Keith Wiles 3 participants 3 messages Dec 16, 2018 – Dec 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eal:missing newline on RTE_LOG msg

Add a missing newline to a RTE_LOG message.

---
 lib/librte_eal/common/rte_option.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/common/rte_option.c +1 -1
index 02d59a869..7605190c3 100644
@@ -36,7 +36,7 @@ rte_option_register(struct rte_option *opt)
 {
 	TAILQ_FOREACH(option, &rte_option_list, next) {
 		if (strcmp(opt->opt_str, option->opt_str) == 0)
-			RTE_LOG(INFO, EAL, "Option %s has already been registered.",
+			RTE_LOG(INFO, EAL, "Option %s has already been registered.\n",
 					opt->opt_str);
 			return;
 	}
Signature · 1 line
2.17.1
#1 lore raw

Hi Keith,

Quoted 2 lines · Keith Wiles

Add a missing newline to a RTE_LOG message.

I think it might interest [email protected], and you might as well include a fixline reference.

Quoted 21 lines
---
 lib/librte_eal/common/rte_option.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/common/rte_option.c +1 -1
index 02d59a869..7605190c3 100644
@@ -36,7 +36,7 @@ rte_option_register(struct rte_option *opt)
 {
 	TAILQ_FOREACH(option, &rte_option_list, next) {
 		if (strcmp(opt->opt_str, option->opt_str) == 0)
-			RTE_LOG(INFO, EAL, "Option %s has already been registered.",
+			RTE_LOG(INFO, EAL, "Option %s has already been registered.\n",
 					opt->opt_str);
 			return;
 	}
Signature · 1 line
2.17.1
Signature · 2 lines
Gaëtan Rivet
6WIND