diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-09 21:06:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-09 21:06:34 +0000 |
commit | 117085edca744537594796a20bf2adf2031bfa29 (patch) | |
tree | 9e6b6a79a1c99ef8adeff15db06d92b87d16ecf0 /sys | |
parent | 71391ecdb1eaef676c59a01afb8a36750ea4aaf9 (diff) |
slightly nicer sensor names
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/i2c/adt7460.c | 8 | ||||
-rw-r--r-- | sys/dev/i2c/lm87.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/i2c/adt7460.c b/sys/dev/i2c/adt7460.c index 80000626a3f..8d8ee4f4c99 100644 --- a/sys/dev/i2c/adt7460.c +++ b/sys/dev/i2c/adt7460.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adt7460.c,v 1.8 2006/03/12 11:21:09 kettenis Exp $ */ +/* $OpenBSD: adt7460.c,v 1.9 2006/04/09 21:06:33 deraadt Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -147,15 +147,15 @@ adt_attach(struct device *parent, struct device *self, void *aux) sizeof(sc->sc_sensor[ADT_VCCP1].desc)); sc->sc_sensor[ADT_REM1_TEMP].type = SENSOR_TEMP; - strlcpy(sc->sc_sensor[ADT_REM1_TEMP].desc, "Rem1 Temp.", + strlcpy(sc->sc_sensor[ADT_REM1_TEMP].desc, "Remote1 Temp", sizeof(sc->sc_sensor[ADT_REM1_TEMP].desc)); sc->sc_sensor[ADT_LOCAL_TEMP].type = SENSOR_TEMP; - strlcpy(sc->sc_sensor[ADT_LOCAL_TEMP].desc, "Int. Temp.", + strlcpy(sc->sc_sensor[ADT_LOCAL_TEMP].desc, "Internal Temp", sizeof(sc->sc_sensor[ADT_LOCAL_TEMP].desc)); sc->sc_sensor[ADT_REM2_TEMP].type = SENSOR_TEMP; - strlcpy(sc->sc_sensor[ADT_REM2_TEMP].desc, "Rem2 Temp.", + strlcpy(sc->sc_sensor[ADT_REM2_TEMP].desc, "Remote2 Temp", sizeof(sc->sc_sensor[ADT_REM2_TEMP].desc)); sc->sc_sensor[ADT_TACH1].type = SENSOR_FANRPM; diff --git a/sys/dev/i2c/lm87.c b/sys/dev/i2c/lm87.c index 3a76ca5eaa1..4c24ed72061 100644 --- a/sys/dev/i2c/lm87.c +++ b/sys/dev/i2c/lm87.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lm87.c,v 1.15 2006/01/19 17:08:39 grange Exp $ */ +/* $OpenBSD: lm87.c,v 1.16 2006/04/09 21:06:33 deraadt Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -198,13 +198,13 @@ lmenv_attach(struct device *parent, struct device *self, void *aux) sizeof(sc->sc_sensor[LMENV_VCCP2].desc)); sc->sc_sensor[LMENV_EXT_TEMP].type = SENSOR_TEMP; - strlcpy(sc->sc_sensor[LMENV_EXT_TEMP].desc, "Ext. Temp.", + strlcpy(sc->sc_sensor[LMENV_EXT_TEMP].desc, "External Temp", sizeof(sc->sc_sensor[LMENV_EXT_TEMP].desc)); if (sc->sc_family == 81) sc->sc_sensor[LMENV_EXT_TEMP].flags |= SENSOR_FINVALID; sc->sc_sensor[LMENV_INT_TEMP].type = SENSOR_TEMP; - strlcpy(sc->sc_sensor[LMENV_INT_TEMP].desc, "Int. Temp.", + strlcpy(sc->sc_sensor[LMENV_INT_TEMP].desc, "Internal Temp", sizeof(sc->sc_sensor[LMENV_INT_TEMP].desc)); if (channel & LM87_CHANNEL_AIN1) { |