]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Ensure we use the correct rundir.
authorRoy Marples <roy@marples.name>
Tue, 26 Apr 2016 19:28:58 +0000 (19:28 +0000)
committerRoy Marples <roy@marples.name>
Tue, 26 Apr 2016 19:28:58 +0000 (19:28 +0000)
compat/pidfile.c

index 46f34c664ee1b9c4e107e780895a2531aacf0fb0..5adb3972f7bbccf5d4aef6b492fbbd04a3d3119a 100644 (file)
@@ -50,6 +50,9 @@ __RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $");
 #include "../config.h"
 #include "../defs.h"
 
+#undef _PATH_VARRUN
+#define _PATH_VARRUN   RUNDIR
+
 static pid_t pidfile_pid;
 static char pidfile_path[PATH_MAX];
 static int pidfile_fd = -1;