summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-05-16 11:58:39 +0000
committerbrian <brian@cvs.openbsd.org>1999-05-16 11:58:39 +0000
commitb0bac5e87c2ef0a8cb7be8f724dd3301b4ea2132 (patch)
tree36d2979232f799312c991e0e13c46d81754f72f1 /usr.sbin
parent2dc3a4f46274a98558e8ef6200a6a96a86d6584a (diff)
Initialise ttydevice::Timer
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/tty.c3
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;