diff options
Diffstat (limited to 'hw/serial.c')
-rw-r--r-- | hw/serial.c | 4 |
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 { |