diff options
author | brian <brian@cvs.openbsd.org> | 1999-05-16 11:58:39 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-05-16 11:58:39 +0000 |
commit | b0bac5e87c2ef0a8cb7be8f724dd3301b4ea2132 (patch) | |
tree | 36d2979232f799312c991e0e13c46d81754f72f1 /usr.sbin | |
parent | 2dc3a4f46274a98558e8ef6200a6a96a86d6584a (diff) |
Initialise ttydevice::Timer
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp/tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/tty.c b/usr.sbin/ppp/ppp/tty.c index 7f98c7f0622..2fefcf68d8c 100644 --- a/usr.sbin/ppp/ppp/tty.c +++ b/usr.sbin/ppp/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.4 1999/05/13 19:29:37 brian Exp $ + * $Id: tty.c,v 1.5 1999/05/16 11:58:38 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; |