diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-03-29 12:18:12 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-03-29 12:18:12 +0000 |
commit | f0e35d62a2b392bf228b9269c5c71685095f6131 (patch) | |
tree | 9fcc2ae8cb753c7df0e33b68e480342652b74d75 /sys/i386/isa/pcvt | |
parent | 6efcc7f11d41cbffc23b0378ca089253ad08e908 (diff) | |
download | src-f0e35d62a2b392bf228b9269c5c71685095f6131.tar.gz src-f0e35d62a2b392bf228b9269c5c71685095f6131.zip |
Don't access "time" directly.
Notes
Notes:
svn path=/head/; revision=34946
Diffstat (limited to 'sys/i386/isa/pcvt')
-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 6a4e15b418c8..430d9f4bad51 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); |