summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ami.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ami.c')
-rw-r--r--sys/dev/ic/ami.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 7bc2206d019..278cc0f4100 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.145 2006/04/18 18:31:04 marco Exp $ */
+/* $OpenBSD: ami.c,v 1.146 2006/04/19 03:38:53 krw Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -576,6 +576,7 @@ ami_attach(struct ami_softc *sc)
else
sc->sc_ioctl = ami_ioctl;
+ sc->sc_first_poll = 0;
if (sensor_task_register(sc, ami_refresh, 10))
printf("%s: unable to register update task\n", DEVNAME(sc));
#endif /* NBIO > 0 */