summary refs log tree commit diff stats
path: root/hw/debugcon.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-04-01 20:03:30 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-08 21:42:26 +0200
commite5c15efff67d0cda978d726a11e5996a88f29b6f (patch)
tree4c8d00144769f375a707429aa2a1a1bcdd2af912 /hw/debugcon.c
parent1a7ff92218abb9b6032c72b6eca0b605c9099161 (diff)
downloadfocaccia-qemu-e5c15efff67d0cda978d726a11e5996a88f29b6f.tar.gz
focaccia-qemu-e5c15efff67d0cda978d726a11e5996a88f29b6f.zip
target-i386: Fix compiler warning
With argument checking for cpu_fprintf, gcc throws this warning:

  CC    i386-softmmu/helper.o
cc1: warnings being treated as errors
/qemu/ar7/target-i386/helper.c: In function ‘cpu_x86_dump_seg_cache’:
/qemu/ar7/target-i386/helper.c:220: error: format not a string literal and no format arguments

The code is correct, but current gcc versions don't detect this.
Therefore the patch rewrites the statement to satisfy the compiler.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/debugcon.c')
0 files changed, 0 insertions, 0 deletions