mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
linux-user: fail and report on bad dfilter specs
Just passing NULL means we end up ignoring the bad dfilter spec instead of reporting it and exiting as we should. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20190830143648.2967-1-alex.bennee@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
895e2ef521
commit
7f4341e84b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ static void handle_arg_log(const char *arg)
|
||||||
|
|
||||||
static void handle_arg_dfilter(const char *arg)
|
static void handle_arg_dfilter(const char *arg)
|
||||||
{
|
{
|
||||||
qemu_set_dfilter_ranges(arg, NULL);
|
qemu_set_dfilter_ranges(arg, &error_fatal);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_arg_log_filename(const char *arg)
|
static void handle_arg_log_filename(const char *arg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue