diff options
author | brian <brian@FreeBSD.org> | 1999-05-16 11:58:48 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-05-16 11:58:48 +0000 |
commit | b609023898b60b219a5d42716557972558710918 (patch) | |
tree | 648df65e21e616230eea96defd1b0b64dbead30c /usr.sbin/ppp | |
parent | 4d19e50f17eeac857032a294396bdccd3512940f (diff) | |
download | FreeBSD-src-b609023898b60b219a5d42716557972558710918.zip FreeBSD-src-b609023898b60b219a5d42716557972558710918.tar.gz |
Initialise ttydevice::Timer
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c index eac49d4..9da36c3 100644 --- a/usr.sbin/ppp/tty.c +++ b/usr.sbin/ppp/tty.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: tty.c,v 1.3 1999/05/13 16:35:13 brian Exp $ + * $Id: tty.c,v 1.4 1999/05/13 19:29:40 brian Exp $ */ #include <sys/param.h> @@ -387,6 +387,7 @@ tty_SetupDevice(struct physical *p) return NULL; memcpy(&dev->dev, &basettydevice, sizeof dev->dev); + memset(&dev->Timer, '\0', sizeof dev->Timer); tcgetattr(p->fd, &ios); dev->ios = ios; |