aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 77f60eac..cd81d855 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -482,7 +482,7 @@ static void alc_init(void)
str = getenv("ALSOFT_LOGFILE");
if(str && str[0])
{
- LogFile = fopen(str, "w");
+ LogFile = fopen(str, "wat");
if(!LogFile)
fprintf(stderr, "AL lib: Failed to open log file '%s'\n", str);
}