diff options
Diffstat (limited to 'sys/dev/i2c/adt7460.c')
-rw-r--r-- | sys/dev/i2c/adt7460.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adt7460.c b/sys/dev/i2c/adt7460.c index 52d2ce85247..afaeac888a8 100644 --- a/sys/dev/i2c/adt7460.c +++ b/sys/dev/i2c/adt7460.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adt7460.c,v 1.17 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: adt7460.c,v 1.18 2007/06/24 05:34:35 dlg Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -231,7 +231,7 @@ adt_attach(struct device *parent, struct device *self, void *aux) sc->sc_sensor[ADT_TACH3].type = SENSOR_FANRPM; sc->sc_sensor[ADT_TACH4].type = SENSOR_FANRPM; - if (sensor_task_register(sc, adt_refresh, 5)) { + if (sensor_task_register(sc, adt_refresh, 5) == NULL) { printf(", unable to register update task\n"); return; } |