aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-05-16 11:58:48 +0000
committerBrian Somers <brian@FreeBSD.org>1999-05-16 11:58:48 +0000
commit4b698945d48fc59b0bcfa09a67c7ac239e6a6b3b (patch)
tree083729d1c6bcbad428c57c74df7815aa9a93ee09
parentd8bd3ac418914c18b1d6e0844229d718c5cb22fc (diff)
Notes
-rw-r--r--usr.sbin/ppp/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c
index eac49d4d2899f..9da36c33d81d6 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;