summaryrefslogtreecommitdiffstats
path: root/libdaemon/dpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdaemon/dpid.c')
-rw-r--r--libdaemon/dpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdaemon/dpid.c b/libdaemon/dpid.c
index 39c87f4..ee0b2e8 100644
--- a/libdaemon/dpid.c
+++ b/libdaemon/dpid.c
@@ -48,7 +48,7 @@
#define PATH_MAX 512
#endif
-#define VARRUN "/var/run"
+#define VARRUN LOCALSTATEDIR "/run"
const char *daemon_pid_file_ident = NULL;
daemon_pid_file_proc_t daemon_pid_file_proc = daemon_pid_file_proc_default;