From c6cead5dfe1080eabac232527e31f3f3a6de325e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 16 Sep 1997 20:52:45 +0000 Subject: Autoconfigure correctly for SunOS boxes. svn path=/trunk/; revision=1355 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 4730e1e7..fea23f37 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -131,7 +131,7 @@ int main (int argc, char **argv) /* set up to do lock protocol */ if (!getuid()) - strcpy(tmpbuf, "/var/run/fetchmail.pid"); + sprintf(tmpbuf, "%s/fetchmail.pid", PID_DIR); else { strcpy(tmpbuf, home); strcat(tmpbuf, "/.fetchmail"); -- cgit v1.2.3