diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-08-10 16:29:28 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-08-10 16:29:28 +0000 |
commit | 9e2634fb36de15308e3baf0015ac9f7ba8affa17 (patch) | |
tree | 6eb8fa1212ef66b5905e75ad992f393515ca21f8 /sys | |
parent | f7b8b2c55e26cfea5d4626667026ebd5ac90a80b (diff) |
make it more clear that the temperature can range between 0 and 285,
by using "0 - 285" instead of "0..285"
ok damien@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index 0a8261e75fb..ff0e688e9d3 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.49 2007/07/24 16:07:47 damien Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.50 2007/08/10 16:29:27 jasper Exp $ */ /*- * Copyright (c) 2006, 2007 @@ -316,7 +316,7 @@ wpi_attach(struct device *parent, struct device *self, void *aux) /* register thermal sensor with the sensor framework */ strlcpy(sc->sensordev.xname, sc->sc_dev.dv_xname, sizeof sc->sensordev.xname); - strlcpy(sc->sensor.desc, "temperature 0..285", + strlcpy(sc->sensor.desc, "temperature 0 - 285", sizeof sc->sensor.desc); sc->sensor.type = SENSOR_INTEGER; /* not in muK! */ /* temperature invalid until interface is up */ |