diff options
-rw-r--r-- | os-posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-posix.c b/os-posix.c index ee765f047d..faf6e6978b 100644 --- a/os-posix.c +++ b/os-posix.c @@ -291,7 +291,7 @@ void os_setup_post(void) dup2(fd, 0); dup2(fd, 1); /* In case -D is given do not redirect stderr to /dev/null */ - if (!qemu_logfile) { + if (!qemu_log_enabled()) { dup2(fd, 2); } |