]> Git Repo - qemu.git/commit
s390x/kvm: make printf always compile in debug output
authorDanil Antonov <[email protected]>
Sat, 1 Apr 2017 13:45:53 +0000 (16:45 +0300)
committerCornelia Huck <[email protected]>
Fri, 21 Apr 2017 07:32:09 +0000 (09:32 +0200)
commit08564ecd4df76c047baf956f66e8a9bffe5e0e97
treeaed25ca464df9f3e14b914063ffdbf33577226c7
parent10890873ca8e518d5ef7782281fd4a6aeeda7061
s390x/kvm: make printf always compile in debug output

Wrapped printf calls inside debug macros (DPRINTF) in `if` statement.
This will ensure that printf function will always compile even if debug
output is turned off and, in turn, will prevent bitrot of the format
strings.

Signed-off-by: Danil Antonov <[email protected]>
Message-Id: <CA+KKJYAhsuTodm3s2rK65hR=-Xi5+Z7Q+M2nJYZQf2wa44HfOg@mail.gmail.com>
Signed-off-by: Cornelia Huck <[email protected]>
target/s390x/kvm.c
This page took 0.024183 seconds and 4 git commands to generate.