summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index c543c8f..bd89a41 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1720,7 +1720,7 @@ ttread(struct tty *tp, struct uio *uio, int flag)
int s, first, error = 0;
int has_stime = 0, last_cc = 0;
long slp = 0; /* XXX this should be renamed `timo'. */
- struct timeval stime;
+ struct timeval stime = { 0, 0 };
struct pgrp *pg;
td = curthread;
OpenPOWER on IntegriCloud