diff options
author | Juha Riihimäki <juha.riihimaki@nokia.com> | 2009-12-03 15:56:02 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-18 23:23:56 +0100 |
commit | 1e8b27ca853d26e8854dc1a3e7ce88605e1673b9 (patch) | |
tree | 4b329772d739f760d4db60f87e857eaa6b75f1ef | |
parent | 2dc3f77c86b6c3782f057af1d935ccddc052bed5 (diff) |
Fix win32 log file location
/tmp doesn't exist under win32. Ease the pain of win32 development slightly.
From: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | exec.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -192,7 +192,11 @@ static int io_mem_watch; #endif /* log support */ +#ifdef WIN32 +static const char *logfilename = "qemu.log"; +#else static const char *logfilename = "/tmp/qemu.log"; +#endif FILE *logfile; int loglevel; static int log_append = 0; |