diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2006-01-01 22:27:47 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2006-01-01 22:27:47 +0000 |
commit | e09e75402201f10f2b07f07878335dce6cdccab7 (patch) | |
tree | 1a49320c2ebb12eff3697eaf79f59fb3d3548fb4 /sys/dev/i2c | |
parent | b1c739b187c45dc6ffb3c3ace90a11b0596d23bd (diff) |
fix cut and paste error on FAN2 sysctl def
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r-- | sys/dev/i2c/asb100.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/i2c/asb100.c b/sys/dev/i2c/asb100.c index fa23bd7d395..4dc9d8f0792 100644 --- a/sys/dev/i2c/asb100.c +++ b/sys/dev/i2c/asb100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asb100.c,v 1.2 2005/12/31 04:31:27 deraadt Exp $ */ +/* $OpenBSD: asb100.c,v 1.3 2006/01/01 22:27:46 djm Exp $ */ /* * Copyright (c) 2005 Damien Miller @@ -264,9 +264,9 @@ asbtm_attach(struct device *parent, struct device *self, void *aux) strlcpy(sc->sc_sensor[ASB100_SENSOR_FAN1].desc, "Fan1", sizeof(sc->sc_sensor[ASB100_SENSOR_FAN1].desc)); - sc->sc_sensor[ASB100_SENSOR_FAN1].type = SENSOR_FANRPM; - strlcpy(sc->sc_sensor[ASB100_SENSOR_FAN1].desc, "Fan2", - sizeof(sc->sc_sensor[ASB100_SENSOR_FAN1].desc)); + sc->sc_sensor[ASB100_SENSOR_FAN2].type = SENSOR_FANRPM; + strlcpy(sc->sc_sensor[ASB100_SENSOR_FAN2].desc, "Fan2", + sizeof(sc->sc_sensor[ASB100_SENSOR_FAN2].desc)); sc->sc_sensor[ASB100_SENSOR_TEMP0].type = SENSOR_TEMP; strlcpy(sc->sc_sensor[ASB100_SENSOR_TEMP0].desc, "External", |