summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 94be9e60f0..72f1527a1e 100644
--- a/exec.c
+++ b/exec.c
@@ -180,7 +180,7 @@ static int io_mem_watch;
 #endif
 
 /* log support */
-const char *logfilename = "/tmp/qemu.log";
+static const char *logfilename = "/tmp/qemu.log";
 FILE *logfile;
 int loglevel;
 static int log_append = 0;