diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-20 20:21:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-20 20:21:03 +0000 |
commit | c869ea9219a881977f76f21ed95339ca2a5987df (patch) | |
tree | fbc7c4c46cd2d69e2f4c78fa0ac265052634f57c /sys/dev/acpi/acpitz.c | |
parent | d4f0bbdaf37f5cbc273bf4476a553eb7dc72bf60 (diff) |
print the temperature readings that make us go down; ok kettenis
Diffstat (limited to 'sys/dev/acpi/acpitz.c')
-rw-r--r-- | sys/dev/acpi/acpitz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 54cefb4df01..b31f17400ea 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.36 2010/07/20 12:12:19 deraadt Exp $ */ +/* $OpenBSD: acpitz.c,v 1.37 2010/07/20 20:21:02 deraadt Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -322,8 +322,8 @@ acpitz_refresh(void *arg) /* critical trip points */ if (sc->sc_crt != -1 && sc->sc_crt <= sc->sc_tmp) { /* do critical shutdown */ - printf("%s: Critical temperature, shutting down\n", - DEVNAME(sc)); + printf("%s: Critical temperature %dC (%dK), shutting down\n", + DEVNAME(sc), KTOC(sc->sc_tmp), sc->sc_tmp); psignal(initproc, SIGUSR2); } if (sc->sc_hot != -1 && sc->sc_hot <= sc->sc_tmp) { |