Skip to contentSkip to conversation

exec.c: Make variable logfilename accessible from linux-user/main.c

PATCH In review Chen Wen-Ren 1 participant 1 message Nov 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 exec.c: Make variable logfilename accessible from linux-user/main.c

Make logfilename non-static so that linux-user/main.c has a chance
to modify the logfilename if user provide one.

---
 exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
exec.c +1 -1
index 6b92198..3cbf7d3 100644
@@ -213,7 +213,7 @@ static int io_mem_watch;
 #ifdef WIN32
 static const char *logfilename = "qemu.log";
 #else
-static const char *logfilename = "/tmp/qemu.log";
+const char *logfilename = "/tmp/qemu.log";
 #endif
 FILE *logfile;
 int loglevel;
Signature · 1 line
1.7.3.5