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 /exec.c | |
parent | 2dc3f77c86b6c3782f057af1d935ccddc052bed5 (diff) | |
download | qemu-1e8b27ca853d26e8854dc1a3e7ce88605e1673b9.tar.gz qemu-1e8b27ca853d26e8854dc1a3e7ce88605e1673b9.tar.bz2 qemu-1e8b27ca853d26e8854dc1a3e7ce88605e1673b9.zip |
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>
Diffstat (limited to 'exec.c')
-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; |