diff options
author | Jan Janssen <medhefgo@web.de> | 2022-08-29 13:07:11 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-08-30 12:03:28 +0200 |
commit | c0f86d66f3f6b561528e7f856f9926bec766c036 (patch) | |
tree | b5b17ffb3a41a7974ff0ad35db009b4f8aa94116 /src/boot/bootctl.c | |
parent | 125d108665506e8abfd575f2cbf7adf9d0ae0a00 (diff) | |
download | systemd-c0f86d66f3f6b561528e7f856f9926bec766c036.tar.gz |
tree-wide: Use correct format specifiers
gcc will complain about all these with -Wformat-signedness.
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r-- | src/boot/bootctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 33bde8b30e..c59eb62555 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -450,7 +450,7 @@ static const char *get_efi_arch(void) { if (r == -ENOENT) return EFI_MACHINE_TYPE_NAME; if (r < 0) { - log_warning_errno(r, "Error reading EFI firmware word size, assuming '%u': %m", __WORDSIZE); + log_warning_errno(r, "Error reading EFI firmware word size, assuming '%i': %m", __WORDSIZE); return EFI_MACHINE_TYPE_NAME; } @@ -460,7 +460,7 @@ static const char *get_efi_arch(void) { return "ia32"; log_warning( - "Unknown EFI firmware word size '%s', using default word size '%u' instead.", + "Unknown EFI firmware word size '%s', using default word size '%i' instead.", platform_size, __WORDSIZE); #endif |