aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmid.c b/gmid.c
index f264670..bf1aedc 100644
--- a/gmid.c
+++ b/gmid.c
@@ -412,7 +412,7 @@ main_send_logfd(struct conf *conf)
goto done;
}
- fd = open(conf->log_access, O_WRONLY|O_CREAT|O_APPEND, 0600);
+ fd = open(path, O_WRONLY|O_CREAT|O_APPEND, 0600);
if (fd == -1)
log_warn("can't open %s", conf->log_access);
}