From cf94c677bbe14aa01f5531071b3b9c3c817020cd Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 6 May 1994 04:48:21 +0000 Subject: [PATCH] fix some buglets --- pppd/sys-ultrix.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pppd/sys-ultrix.c b/pppd/sys-ultrix.c index 0301a8a..d3236ec 100644 --- a/pppd/sys-ultrix.c +++ b/pppd/sys-ultrix.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $"; +static char rcsid[] = "$Id: sys-ultrix.c,v 1.2 1994/05/06 04:48:21 paulus Exp $"; #endif /* @@ -27,9 +27,9 @@ static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $" */ #include -#include #include #include +#include #include #include @@ -43,7 +43,7 @@ static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $" #include "ppp.h" static int initdisc = -1; /* Initial TTY discipline */ - +extern int kdebugflag; /* * establish_ppp - Turn the serial port into a ppp interface. @@ -52,6 +52,7 @@ void establish_ppp() { int pppdisc = PPPDISC; + int x; if (ioctl(fd, TIOCGETD, &initdisc) < 0) { syslog(LOG_ERR, "ioctl(TIOCGETD): %m"); -- 2.39.2