diff options
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/it.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/it.c b/sys/dev/isa/it.c index 63583a3ddbf..79c51ac1baa 100644 --- a/sys/dev/isa/it.c +++ b/sys/dev/isa/it.c @@ -1,4 +1,4 @@ -/* $OpenBSD: it.c,v 1.22 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: it.c,v 1.23 2007/06/24 05:34:35 dlg Exp $ */ /* * Copyright (c) 2003 Julien Bordet <zejames@greyhats.org> @@ -155,7 +155,7 @@ it_attach(struct device *parent, struct device *self, void *aux) it_setup_volt(sc, 3, 9); it_setup_temp(sc, 12, 3); - if (sensor_task_register(sc, it_refresh, 5)) { + if (sensor_task_register(sc, it_refresh, 5) == NULL) { printf("%s: unable to register update task\n", sc->sc_dev.dv_xname); return; |