]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - ppp/patches/ppp-2.4.5-lock.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / ppp / patches / ppp-2.4.5-lock.patch
CommitLineData
0bc5d371
MT
1diff -up ppp-2.4.5/pppd/utils.c.lock ppp-2.4.5/pppd/utils.c
2--- ppp-2.4.5/pppd/utils.c.lock 2011-05-30 15:30:36.432371849 +0200
3+++ ppp-2.4.5/pppd/utils.c 2011-05-30 15:30:48.575495854 +0200
4@@ -859,7 +859,7 @@ complete_read(int fd, void *buf, size_t
5 /* Procedures for locking the serial device using a lock file. */
6 #ifndef LOCK_DIR
7 #ifdef __linux__
8-#define LOCK_DIR "/var/lock"
9+#define LOCK_DIR "/var/lock/ppp"
10 #else
11 #ifdef SVR4
12 #define LOCK_DIR "/var/spool/locks"