diff options
Diffstat (limited to 'sys/dev/i2c/adm1026.c')
-rw-r--r-- | sys/dev/i2c/adm1026.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adm1026.c b/sys/dev/i2c/adm1026.c index 26cea62b63e..4b5deeb0534 100644 --- a/sys/dev/i2c/adm1026.c +++ b/sys/dev/i2c/adm1026.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adm1026.c,v 1.9 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: adm1026.c,v 1.10 2007/06/24 05:34:35 dlg Exp $ */ /* * Copyright (c) 2005 Theo de Raadt @@ -213,7 +213,7 @@ admcts_attach(struct device *parent, struct device *self, void *aux) sc->sc_sensor[ADMCTS_FAN6].type = SENSOR_FANRPM; sc->sc_sensor[ADMCTS_FAN7].type = SENSOR_FANRPM; - if (sensor_task_register(sc, admcts_refresh, 5)) { + if (sensor_task_register(sc, admcts_refresh, 5) == NULL) { printf(", unable to register update task\n"); return; } |