diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-12 23:39:59 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-12 23:39:59 +0000 |
commit | 0d501a8108fba864a03fc17a4695195f047a724b (patch) | |
tree | c460af2dc032c44eb689a0c3c3aedef102691ff0 /sys/arch/i386/stand/libsa | |
parent | f1951a48d1095251e043062721afc7b47fedda2a (diff) |
poll BIOS as said in comment
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r-- | sys/arch/i386/stand/libsa/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/time.c b/sys/arch/i386/stand/libsa/time.c index 9f6e541ccea..edd96963675 100644 --- a/sys/arch/i386/stand/libsa/time.c +++ b/sys/arch/i386/stand/libsa/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.6 1997/08/12 19:05:55 mickey Exp $ */ +/* $OpenBSD: time.c,v 1.7 1997/08/12 23:39:58 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -171,7 +171,7 @@ sleep(i) /* loop for that number of seconds, polling BIOS, so that it may handle interrupts */ - for (t = getsecs() + i; getsecs() < t; ); + for (t = getsecs() + i; getsecs() < t; cnischar()); return 0; } |