[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 10/15] pflash_cfi02.c: fix debug macro
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 10/15] pflash_cfi02.c: fix debug macro |
Date: |
Mon, 2 Sep 2013 15:01:30 +0400 |
From: Antony Pavlov <address@hidden>
If PFLASH_DEBUG is enabled then we have some build errors:
hw/block/pflash_cfi02.c: In function ‘pflash_timer’:
hw/block/pflash_cfi02.c:128:5: error: expected ‘)’ before string constant
hw/block/pflash_cfi02.c:128:5: error: too few arguments to function ‘fprintf’
This patch fixes the problem.
Signed-off-by: Antony Pavlov <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/block/pflash_cfi02.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c
index 99445b0..8d4b828 100644
--- a/hw/block/pflash_cfi02.c
+++ b/hw/block/pflash_cfi02.c
@@ -47,7 +47,7 @@
#ifdef PFLASH_DEBUG
#define DPRINTF(fmt, ...) \
do { \
- fprintf(stderr "PFLASH: " fmt , ## __VA_ARGS__); \
+ fprintf(stderr, "PFLASH: " fmt , ## __VA_ARGS__); \
} while (0)
#else
#define DPRINTF(fmt, ...) do { } while (0)
--
1.7.10.4
- [Qemu-trivial] [PULL 01/15] slirp: Port redirection option behave differently on Linux and Windows, (continued)
- [Qemu-trivial] [PULL 01/15] slirp: Port redirection option behave differently on Linux and Windows, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 02/15] misc: Fix some typos in names and comments, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 04/15] configure: disable clang -Wstring-plus-int warning, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 03/15] rdma: silly ipv6 bugfix, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 08/15] configure: Remove unneeded redirections of stderr (pkg-config --cflags, --libs), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 11/15] target-arm: Report unimplemented opcodes (LOG_UNIMP), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 12/15] tci: Remove function tcg_out64 (fix broken build), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 05/15] slirp/arp_table.c: Avoid shifting into sign bit of signed integers, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 13/15] qmp: fix integer usage in examples, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 07/15] configure: Don't write .pyc files by default (python -B), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 10/15] pflash_cfi02.c: fix debug macro,
Michael Tokarev <=
- [Qemu-trivial] [PULL 14/15] adlib: sort offsets in portio registration, Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 15/15] aio / timers: use g_usleep() not sleep(), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 09/15] configure: Remove unneeded redirections of stderr (pkg-config --exists), Michael Tokarev, 2013/09/02
- [Qemu-trivial] [PULL 06/15] curl: qemu_bh_new() can never return NULL, Michael Tokarev, 2013/09/02