diff options
author | Peter Maydell | 2013-07-29 14:16:37 +0200 |
---|---|---|
committer | Anthony Liguori | 2013-07-30 02:33:54 +0200 |
commit | e67137c6c5823ad9488b766c79f0963f6ba70f12 (patch) | |
tree | 52ced1a15e03332d39cc3c58a80126203e1b4f7e /hw/s390x/s390-virtio.c | |
parent | block/sheepdog: Rename 'dprintf' to 'DPRINTF' (diff) | |
download | qemu-e67137c6c5823ad9488b766c79f0963f6ba70f12.tar.gz qemu-e67137c6c5823ad9488b766c79f0963f6ba70f12.tar.xz qemu-e67137c6c5823ad9488b766c79f0963f6ba70f12.zip |
s390x: Rename 'dprintf' to 'DPRINTF'
'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1375100199-13934-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390x/s390-virtio.c')
-rw-r--r-- | hw/s390x/s390-virtio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/s390x/s390-virtio.c b/hw/s390x/s390-virtio.c index edbde00d4d..439d7323ec 100644 --- a/hw/s390x/s390-virtio.c +++ b/hw/s390x/s390-virtio.c @@ -41,10 +41,10 @@ //#define DEBUG_S390 #ifdef DEBUG_S390 -#define dprintf(fmt, ...) \ +#define DPRINTF(fmt, ...) \ do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0) #else -#define dprintf(fmt, ...) \ +#define DPRINTF(fmt, ...) \ do { } while (0) #endif |