summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/sboot/if_le.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/stand/sboot/if_le.c')
-rw-r--r--sys/arch/mvme68k/stand/sboot/if_le.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/stand/sboot/if_le.c b/sys/arch/mvme68k/stand/sboot/if_le.c
index 2adc5626747..c76ef5fa1ac 100644
--- a/sys/arch/mvme68k/stand/sboot/if_le.c
+++ b/sys/arch/mvme68k/stand/sboot/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.4 1996/10/16 13:50:01 mickey Exp $ */
+/* $OpenBSD: if_le.c,v 1.5 1997/01/29 07:58:38 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -292,11 +292,11 @@ le_get(pkt, len, timeout)
{
int cc;
int now, then;
- int stopat = time() + timeout;
+ int stopat = ttime() + timeout;
then = 0;
cc = 0;
- while ((now = time()) < stopat && !cc) {
+ while ((now = ttime()) < stopat && !cc) {
cc = le_poll(pkt, len);
if (then != now) {
#ifdef LE_DEBUG