exec.c: Make variable logfilename accessible from linux-user/main.c
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.
Signed-off-by Chen Wen-Ren <[email protected]>
--- exec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
exec.c +1 -1
@@ -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