summaryrefslogtreecommitdiffstats
path: root/hw/serial.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-13 21:21:57 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-14 10:58:38 +0200
commit46411f863c26ff85c48b97939502007610c95398 (patch)
treebd185262833a81ac3e6c82f9449a77423b1c05ac /hw/serial.c
parentb6601141cd2a170dfe773987b06f716a190ea7e0 (diff)
downloadhqemu-46411f863c26ff85c48b97939502007610c95398.zip
hqemu-46411f863c26ff85c48b97939502007610c95398.tar.gz
Remove wrong semicolon in macro definition
Macros normally should not end with a semicolon, otherwise their usage results in two statements where only one statement was expected. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/serial.c')
-rw-r--r--hw/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/serial.c b/hw/serial.c
index 49431b2..f09ce0a 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -101,10 +101,10 @@
#ifdef DEBUG_SERIAL
#define DPRINTF(fmt, ...) \
-do { fprintf(stderr, "serial: " fmt , ## __VA_ARGS__); } while (0);
+do { fprintf(stderr, "serial: " fmt , ## __VA_ARGS__); } while (0)
#else
#define DPRINTF(fmt, ...) \
-do {} while(0);
+do {} while (0)
#endif
typedef struct SerialFIFO {
OpenPOWER on IntegriCloud