diff options
Diffstat (limited to 'hw/audio/soundhw.c')
-rw-r--r-- | hw/audio/soundhw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/audio/soundhw.c b/hw/audio/soundhw.c index b387b0e..d18fd9f 100644 --- a/hw/audio/soundhw.c +++ b/hw/audio/soundhw.c @@ -88,7 +88,8 @@ void select_soundhw(const char *name, const char *audiodev) struct soundhw *c; if (selected) { - error_setg(&error_fatal, "only one -soundhw option is allowed"); + error_report("only one -soundhw option is allowed"); + exit(1); } for (c = soundhw; c->name; ++c) { |