aboutsummaryrefslogtreecommitdiff
path: root/hw/ssd0323.c
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2012-12-25 16:58:44 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2012-12-25 16:58:44 +0200
commitdd55a01d2af35f5e9dabb2b745770afd008c9e24 (patch)
tree2bcab272d5cd94aab77f89220f1b8a3bff3109ac /hw/ssd0323.c
parent07d16a97127c9f56263ed5d8c697ff98a748e480 (diff)
Imported Upstream version 1.2.0-2012.09upstream/1.2.0-2012.09
Diffstat (limited to 'hw/ssd0323.c')
-rw-r--r--hw/ssd0323.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/ssd0323.c b/hw/ssd0323.c
index b0b2e94..b101c51 100644
--- a/hw/ssd0323.c
+++ b/hw/ssd0323.c
@@ -19,7 +19,9 @@
#define DPRINTF(fmt, ...) \
do { printf("ssd0323: " fmt , ## __VA_ARGS__); } while (0)
#define BADF(fmt, ...) \
-do { fprintf(stderr, "ssd0323: error: " fmt , ## __VA_ARGS__); exit(1);} while (0)
+do { \
+ fprintf(stderr, "ssd0323: error: " fmt , ## __VA_ARGS__); abort(); \
+} while (0)
#else
#define DPRINTF(fmt, ...) do {} while(0)
#define BADF(fmt, ...) \