]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: slightly update log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 04:43:47 +0000 (13:43 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 04:59:04 +0000 (13:59 +0900)
src/network/netdev/macsec.c

index 702e674ca228bbeec271790f488d007c08138629..9d3b8d6e4cd9b009506cd2448c4cd4fc5aa9f7e8 100644 (file)
@@ -850,12 +850,13 @@ int config_parse_macsec_key_id(
         if (r == -ENOMEM)
                 return log_oom();
         if (r < 0) {
-                log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse KeyId \"%s\": %m", rvalue);
+                log_syntax(unit, LOG_WARNING, filename, line, r,
+                           "Failed to parse KeyId=%s, ignoring assignment: %m", rvalue);
                 return 0;
         }
         if (l > MACSEC_KEYID_LEN) {
                 log_syntax(unit, LOG_WARNING, filename, line, 0,
-                           "Specified KeyId is larger then the allowed maximum (%zu > %u), ignoring: %s",
+                           "Specified KeyId= is larger then the allowed maximum (%zu > %u), ignoring: %s",
                            l, MACSEC_KEYID_LEN, rvalue);
                 return 0;
         }