summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ncr53c9x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ncr53c9x.c')
-rw-r--r--sys/dev/ic/ncr53c9x.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index 61776725627..eb06ba0876e 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.25 2004/10/28 08:11:09 xsa Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.26 2006/01/04 20:49:32 miod Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -2679,8 +2679,7 @@ shortcut:
if (NCRDMA_ISINTR(sc))
goto again;
microtime(&cur);
- } while (cur.tv_sec <= wait.tv_sec &&
- cur.tv_usec <= wait.tv_usec);
+ } while (timercmp(&cur, &wait, <=));
}
goto out;
}