Fixes the following build breakage with '-Werror':
cc1: warnings being treated as errors
x86/boot.c: In function ‘kvm__load_firmware’:
x86/boot.c:29: error: format ‘%lu’ expects type ‘long unsigned int’, but
argument 3 has type ‘__off64_t’
make: *** [x86/boot.o] Erreur 1
Signed-off-by: Jean-Philippe Menil <jean-philippe.menil@univ-nantes.fr>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
return false;
if (st.st_size > MB_FIRMWARE_BIOS_SIZE)
- die("firmware image %s is too big to fit in memory (%lu KB).\n", firmware_filename, st.st_size / 1024);
+ die("firmware image %s is too big to fit in memory (%Lu KB).\n", firmware_filename, (u64)(st.st_size / 1024));
p = guest_flat_to_host(kvm, MB_FIRMWARE_BIOS_BEGIN);