From 117085edca744537594796a20bf2adf2031bfa29 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 9 Apr 2006 21:06:34 +0000 Subject: slightly nicer sensor names --- sys/dev/i2c/adt7460.c | 8 ++++---- 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) { -- cgit v1.2.3