diff options
author | phk <phk@FreeBSD.org> | 1998-03-29 12:18:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-03-29 12:18:12 +0000 |
commit | 976c224cc55da35d4315467b866a15a3de030cba (patch) | |
tree | 32f9bcc0c9d8c9bc62a092db8e5f756acd6f5a12 /sys/i386/isa/pcvt/pcvt_kbd.c | |
parent | 7dc4766acbcde79a558277f5de0aa12f23505884 (diff) | |
download | FreeBSD-src-976c224cc55da35d4315467b866a15a3de030cba.zip FreeBSD-src-976c224cc55da35d4315467b866a15a3de030cba.tar.gz |
Don't access "time" directly.
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_kbd.c')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_kbd.c b/sys/i386/isa/pcvt/pcvt_kbd.c index 6a4e15b..430d9f4 100644 --- a/sys/i386/isa/pcvt/pcvt_kbd.c +++ b/sys/i386/isa/pcvt/pcvt_kbd.c @@ -1558,9 +1558,9 @@ loop: * happen "recently", i.e. before * less than half a second */ - gettime(&now); + getmicrotime(&now); timevalsub(&now, &mouse.lastmove); - mouse.lastmove = time; + getmicrotime(&mouse.lastmove); accel = (now.tv_sec == 0 && now.tv_usec < mousedef.acceltime); |