aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7399a0c7..5ebe0205 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -893,7 +893,7 @@ static void alc_initconfig(void)
str = getenv("ALSOFT_LOGFILE");
if(str && str[0])
{
- FILE *logfile = fopen(str, "wt");
+ FILE *logfile = al_fopen(str, "wt");
if(logfile) LogFile = logfile;
else ERR("Failed to open log file '%s'\n", str);
}