summaryrefslogtreecommitdiffstats
path: root/comms/ser2net/files/patch-devcfg.c
blob: e648e5aee6ebd1d57bd0bb5750e9a357dfec2b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- devcfg.c.orig	2014-12-28 21:15:39.000000000 +0200
+++ devcfg.c	2014-12-28 21:18:04.000000000 +0200
@@ -31,7 +31,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <syslog.h>
-#include <linux/serial.h>
+#include <sys/serial.h>
 
 #include "ser2net.h"
 #include "selector.h"
@@ -133,7 +133,7 @@ get_rate_from_baud_rate(int baud_rate, i
 }
 
 #ifdef USE_UUCP_LOCKING
-static char *uucp_lck_dir = "/var/lock";
+static char *uucp_lck_dir = "/var/spool/lock";
 
 static int
 uucp_fname_lock_size(char *devname)
OpenPOWER on IntegriCloud