[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 1/2] exec.c: Make variable logfilename accessible
From: |
Chen Wen-Ren |
Subject: |
[Qemu-trivial] [PATCH 1/2] exec.c: Make variable logfilename accessible from linux-user/main.c |
Date: |
Sat, 5 Nov 2011 16:17:55 +0800 |
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 <address@hidden>
---
exec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/exec.c b/exec.c
index 6b92198..3cbf7d3 100644
--- a/exec.c
+++ b/exec.c
@@ -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;
--
1.7.3.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-trivial] [PATCH 1/2] exec.c: Make variable logfilename accessible from linux-user/main.c,
Chen Wen-Ren <=