diff options
| author | Salvador Fandino | 2020-01-23 20:36:26 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2020-01-30 22:33:50 +0100 |
| commit | e144a605a614d22165000c69e8e1dc6986d45cd8 (patch) | |
| tree | 28a01420e1a82b85f248518c109d418176521903 /docs | |
| parent | hw/display/qxl.c: Use trace_event_get_state_backends() (diff) | |
| download | qemu-e144a605a614d22165000c69e8e1dc6986d45cd8.tar.gz qemu-e144a605a614d22165000c69e8e1dc6986d45cd8.tar.xz qemu-e144a605a614d22165000c69e8e1dc6986d45cd8.zip | |
qemu_set_log_filename: filename argument may be NULL
NULL is a valid log filename used to indicate we want to use stderr
but qemu_set_log_filename (which is called by bsd-user/main.c) was not
handling it correctly.
That also made redundant a couple of NULL checks in calling code which
have been removed.
Signed-off-by: Salvador Fandino <salvador@qindel.com>
Message-Id: <20200123193626.19956-1-salvador@qindel.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
