summaryrefslogtreecommitdiff
path: root/src/network/netdev
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-08-29 13:07:11 +0200
committerJan Janssen <medhefgo@web.de>2022-08-30 12:03:28 +0200
commitc0f86d66f3f6b561528e7f856f9926bec766c036 (patch)
treeb5b17ffb3a41a7974ff0ad35db009b4f8aa94116 /src/network/netdev
parent125d108665506e8abfd575f2cbf7adf9d0ae0a00 (diff)
downloadsystemd-c0f86d66f3f6b561528e7f856f9926bec766c036.tar.gz
tree-wide: Use correct format specifiers
gcc will complain about all these with -Wformat-signedness.
Diffstat (limited to 'src/network/netdev')
-rw-r--r--src/network/netdev/macsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/netdev/macsec.c b/src/network/netdev/macsec.c
index c0ddab212a..1e3f6a9c4b 100644
--- a/src/network/netdev/macsec.c
+++ b/src/network/netdev/macsec.c
@@ -841,7 +841,7 @@ int config_parse_macsec_key_id(
}
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 > %i), ignoring: %s",
l, MACSEC_KEYID_LEN, rvalue);
return 0;
}