diff options
author | Danil Antonov <g.danil.anto@gmail.com> | 2017-04-01 16:45:53 +0300 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2017-04-21 09:32:09 +0200 |
commit | 08564ecd4df76c047baf956f66e8a9bffe5e0e97 (patch) | |
tree | aed25ca464df9f3e14b914063ffdbf33577226c7 /hw/s390x/s390-pci-inst.c | |
parent | 10890873ca8e518d5ef7782281fd4a6aeeda7061 (diff) |
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 <g.danil.anto@gmail.com>
Message-Id: <CA+KKJYAhsuTodm3s2rK65hR=-Xi5+Z7Q+M2nJYZQf2wa44HfOg@mail.gmail.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/s390-pci-inst.c')
0 files changed, 0 insertions, 0 deletions