summary refs log tree commit diff stats
path: root/include/exec/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/log.h')
-rw-r--r--include/exec/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/log.h b/include/exec/log.h
index 3c7fa65ead..fb595d1eb7 100644
--- a/include/exec/log.h
+++ b/include/exec/log.h
@@ -71,7 +71,7 @@ static inline void log_disas(const void *code, unsigned long size)
 /* page_dump() output to the log file: */
 static inline void log_page_dump(const char *operation)
 {
-    FILE *logfile = qemu_log_lock();
+    FILE *logfile = qemu_log_trylock();
     if (logfile) {
         qemu_log("page layout changed following %s\n", operation);
         page_dump(logfile);