summaryrefslogtreecommitdiff
path: root/hw/xwin/winshaddd.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-02-01 17:11:51 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2010-03-16 14:02:17 +0000
commitbf181915e103b0659c5a0bc3b2f6bccb18c9ec36 (patch)
tree97baaa289584be87ffc5f438d3e2c58896d19d1b /hw/xwin/winshaddd.c
parentcca4952d750779a4c58a11fe08a53336042930bb (diff)
Cygwin/X: Allow the default log location to be configurable
Allow the default log location to be configurable (e.g. /var/log), and use separate logs for each display instance (e.g. XWin.0.log). Make the type of g_pszLogFile const char*, per os/log.c:LogInit(). Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winshaddd.c')
-rw-r--r--hw/xwin/winshaddd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winshaddd.c b/hw/xwin/winshaddd.c
index 4f3e89501..85dc10f53 100644
--- a/hw/xwin/winshaddd.c
+++ b/hw/xwin/winshaddd.c
@@ -42,7 +42,7 @@
*/
extern HWND g_hDlgExit;
-extern char *g_pszLogFile;
+extern const char *g_pszLogFile;
/*
* FIXME: Headers are broken, DEFINE_GUID doesn't work correctly,