From 59bae425704fd5d3fe7c6fbdb1f58bd72551f55f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 5 Feb 2020 21:12:34 +0900 Subject: [PATCH] network: update log message --- src/network/tc/qdisc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network/tc/qdisc.c b/src/network/tc/qdisc.c index f8cf266fb3..f1527cc1f5 100644 --- a/src/network/tc/qdisc.c +++ b/src/network/tc/qdisc.c @@ -218,15 +218,15 @@ int qdisc_section_verify(QDisc *qdisc, bool *has_root, bool *has_clsact) { if (qdisc->parent == TC_H_ROOT) { if (*has_root) return log_warning_errno(SYNTHETIC_ERRNO(EINVAL), - "%s: More than one root TrafficControlQueueingDiscipline sections are defined. " - "Ignoring [TrafficControlQueueingDiscipline] section from line %u.", + "%s: More than one root qdisc section is defined. " + "Ignoring the qdisc section from line %u.", qdisc->section->filename, qdisc->section->line); *has_root = true; } else if (qdisc->parent == TC_H_CLSACT) { /* TC_H_CLSACT == TC_H_INGRESS */ if (*has_clsact) return log_warning_errno(SYNTHETIC_ERRNO(EINVAL), - "%s: More than one clsact or ingress TrafficControlQueueingDiscipline sections are defined. " - "Ignoring [TrafficControlQueueingDiscipline] section from line %u.", + "%s: More than one clsact or ingress qdisc section is defined. " + "Ignoring the qdisc section from line %u.", qdisc->section->filename, qdisc->section->line); *has_clsact = true; }