From: Roy Marples Date: Tue, 26 Apr 2016 19:28:58 +0000 (+0000) Subject: Ensure we use the correct rundir. X-Git-Tag: v6.11.0~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c69bcfca38ff9d82528d509281c8407e7dd07463;p=thirdparty%2Fdhcpcd.git Ensure we use the correct rundir. --- diff --git a/compat/pidfile.c b/compat/pidfile.c index 46f34c66..5adb3972 100644 --- a/compat/pidfile.c +++ b/compat/pidfile.c @@ -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;