summaryrefslogtreecommitdiff
path: root/src/boot/efi/efi-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/efi-string.h')
-rw-r--r--src/boot/efi/efi-string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/efi-string.h b/src/boot/efi/efi-string.h
index 410bfd8ef5..4df37a8505 100644
--- a/src/boot/efi/efi-string.h
+++ b/src/boot/efi/efi-string.h
@@ -126,7 +126,7 @@ _gnu_printf_(2, 0) _warn_unused_result_ char16_t *xvasprintf_status(EFI_STATUS s
/* inttypes.h is provided by libc instead of the compiler and is not supposed to be used in freestanding
* environments. We could use clang __*_FMT*__ constants for this, bug gcc does not have them. :( */
-# if defined(__ILP32__)
+# if defined(__ILP32__) || defined(__arm__)
# define PRI64_PREFIX "ll"
# elif defined(__LP64__)
# define PRI64_PREFIX "l"