summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-09 05:51:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-09 05:51:55 +0000
commitd1addc9ea23c6f9be8a79e6608ec1e0869e854a6 (patch)
treee9d24c28cfec8bfb5b7f78b98df68678072b8680 /sys
parent1c1c11e4ab159a805f2e116c9db7ba237e8a832e (diff)
make sensor names look more normal; ok dlg
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/safte.c8
-rw-r--r--sys/scsi/ses.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/scsi/safte.c b/sys/scsi/safte.c
index 355069d2bd3..11cb1f20202 100644
--- a/sys/scsi/safte.c
+++ b/sys/scsi/safte.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: safte.c,v 1.26 2006/01/19 17:08:40 grange Exp $ */
+/* $OpenBSD: safte.c,v 1.27 2006/05/09 05:51:54 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -303,7 +303,7 @@ safte_read_config(struct safte_softc *sc)
s->se_field = (u_int8_t *)(sc->sc_encbuf + i);
s->se_sensor.type = SENSOR_INDICATOR;
snprintf(s->se_sensor.desc, sizeof(s->se_sensor.desc),
- "fan%d", i);
+ "Fan%d", i);
s++;
}
@@ -314,7 +314,7 @@ safte_read_config(struct safte_softc *sc)
s->se_field = (u_int8_t *)(sc->sc_encbuf + j + i);
s->se_sensor.type = SENSOR_INDICATOR;
snprintf(s->se_sensor.desc, sizeof(s->se_sensor.desc),
- "psu%d", i);
+ "PSU%d", i);
s++;
}
@@ -359,7 +359,7 @@ safte_read_config(struct safte_softc *sc)
s->se_field = (u_int8_t *)(sc->sc_encbuf + j + i);
s->se_sensor.type = SENSOR_TEMP;
snprintf(s->se_sensor.desc, sizeof(s->se_sensor.desc),
- "temp%d", i);
+ "Temp%d", i);
s++;
}
diff --git a/sys/scsi/ses.c b/sys/scsi/ses.c
index 8bd4fb78f6c..80dbd9662ae 100644
--- a/sys/scsi/ses.c
+++ b/sys/scsi/ses.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ses.c,v 1.35 2006/04/20 20:31:13 miod Exp $ */
+/* $OpenBSD: ses.c,v 1.36 2006/05/09 05:51:54 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -433,17 +433,17 @@ ses_make_sensors(struct ses_softc *sc, struct ses_type_desc *types, int ntypes)
case SES_T_POWERSUPPLY:
stype = SENSOR_INDICATOR;
- fmt = "psu%d";
+ fmt = "PSU%d";
break;
case SES_T_COOLING:
stype = SENSOR_PERCENT;
- fmt = "fan%d";
+ fmt = "Fan%d";
break;
case SES_T_TEMP:
stype = SENSOR_TEMP;
- fmt = "temp%d";
+ fmt = "Temp%d";
break;
default: