]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix printf() format string in kvm__load_firmware()
authorJean-Philippe Menil <jean-philippe.menil@univ-nantes.fr>
Tue, 8 May 2012 13:48:15 +0000 (15:48 +0200)
committerPekka Enberg <penberg@kernel.org>
Tue, 8 May 2012 14:11:26 +0000 (17:11 +0300)
commit0e6f66a21f659fb0148b112ad61370f49b20eba7
treef7d77240fcee87b1e7c1ddcb4f8937a3fa96f988
parent401ce06199254753ff45f1d6299244b9d370c58f
kvm tools: Fix printf() format string in kvm__load_firmware()

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>
tools/kvm/x86/boot.c