summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1994-10-22 14:40:48 +0000
committerdfr <dfr@FreeBSD.org>1994-10-22 14:40:48 +0000
commitc816f711b376c95f0cf8b9ad3172641057419001 (patch)
treecea986fcd2b9b92a20d62b8883907c14d8533827 /usr.sbin/pppd
parentc6bdff31321d5e3a2497a09bc77e107315cc83f8 (diff)
downloadFreeBSD-src-c816f711b376c95f0cf8b9ad3172641057419001.zip
FreeBSD-src-c816f711b376c95f0cf8b9ad3172641057419001.tar.gz
Change to use the correct lock file directory.
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/lock.c b/usr.sbin/pppd/lock.c
index 0fbbef3..8cb7da7 100644
--- a/usr.sbin/pppd/lock.c
+++ b/usr.sbin/pppd/lock.c
@@ -4,7 +4,7 @@
* This code is derived from chat.c.
*/
-static char rcsid[] = "$Id: lock.c,v 1.1 1994/04/18 23:41:52 paulus Exp $";
+static char rcsid[] = "$Id: lock.c,v 1.2 1994/09/25 02:32:04 wollman Exp $";
#include <stdio.h>
#include <string.h>
@@ -24,7 +24,7 @@ static char rcsid[] = "$Id: lock.c,v 1.1 1994/04/18 23:41:52 paulus Exp $";
#endif
#ifndef LOCK_DIR
-# ifdef __NetBSD__
+# if defined(__NetBSD__) || defined(__FreeBSD__)
# define PIDSTRING
# define LOCK_PREFIX "/var/spool/lock/LCK.."
# else
OpenPOWER on IntegriCloud