diff options
Diffstat (limited to 'sys/arch/i386/stand')
-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; } |