From 528442d31852e40e55eb6bb85dd019f888ede21c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 12 Nov 1996 22:04:42 +0000 Subject: Fix Ville Eeerola's bug. svn path=/trunk/; revision=535 --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver.c b/driver.c index 923613a7..564dc50c 100644 --- a/driver.c +++ b/driver.c @@ -81,7 +81,7 @@ static void vtalarm(int timeleft) { struct itimerval ntimeout; - ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_sec = 0; + ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_usec = 0; ntimeout.it_value.tv_sec = timeleft; ntimeout.it_value.tv_usec = 0; setitimer(ITIMER_VIRTUAL, &ntimeout, (struct itimerval *)NULL); -- cgit v1.2.3