]> git.proxmox.com Git - mirror_qemu.git/commit
fdc: always compile-check debug prints
authorJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (13:29 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (13:29 -0500)
commitc691320faa6a1749042134716a628e22abb81ed2
tree720914932a279aa9a1f4efba5ab42dedc77fe414
parentf34ae00d6d22671d8583892fa702f21f3049ef72
fdc: always compile-check debug prints

Coverity noticed that some variables are only used by debug prints, and
called them unused. Always compile the print statements. While we're
here, print to stderr as well.

Bonus: Fix a debug printf I broke in f31937aa8

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Touched up commit message. --js]
Message-id: 1454971529-14830-1-git-send-email-jsnow@redhat.com
hw/block/fdc.c