aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.c')
-rw-r--r--src/daemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 8763b5b2e..566c59250 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -46,7 +46,8 @@ daemonize(Options *options)
{
#ifndef WIN32
FILE *fp = NULL;
- ConfigParam *pidFileParam = parseConfigFilePath(CONF_PID_FILE, 0);
+ struct config_param *pidFileParam =
+ parseConfigFilePath(CONF_PID_FILE, 0);
if (pidFileParam) {
/* do this before daemon'izing so we can fail gracefully if we can't