]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: update log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 5 Feb 2020 12:12:34 +0000 (21:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 7 Feb 2020 04:49:01 +0000 (13:49 +0900)
src/network/tc/qdisc.c

index f8cf266fb34483c623f638175e42a6108561d192..f1527cc1f5f0742d2a67912beb4976091945a03f 100644 (file)
@@ -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;
         }