diff options
author | 2007-11-12 21:38:31 +0000 | |
---|---|---|
committer | 2007-11-12 21:38:31 +0000 | |
commit | 7c54c5b540b8726febe1352b4e4ac3d004964f52 (patch) | |
tree | df3142079f7292cc473e3894ab34c50ba4ab20fc | |
parent | correct : vs , in attach-time messages (diff) | |
download | wireguard-openbsd-7c54c5b540b8726febe1352b4e4ac3d004964f52.tar.xz wireguard-openbsd-7c54c5b540b8726febe1352b4e4ac3d004964f52.zip |
a little less excitement (every printf does not need to end in !)
-rw-r--r-- | sys/dev/acpi/acpiec.c | 4 | ||||
-rw-r--r-- | sys/dev/acpi/acpiprt.c | 4 | ||||
-rw-r--r-- | sys/dev/acpi/acpitz.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/acpi/acpiec.c b/sys/dev/acpi/acpiec.c index c5cc1e7d4a6..229d00ed342 100644 --- a/sys/dev/acpi/acpiec.c +++ b/sys/dev/acpi/acpiec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiec.c,v 1.18 2007/02/21 20:46:57 marco Exp $ */ +/* $OpenBSD: acpiec.c,v 1.19 2007/11/12 21:38:31 deraadt Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * @@ -282,7 +282,7 @@ acpiec_attach(struct device *parent, struct device *self, void *aux) sc->sc_devnode = aa->aaa_node->child; if (sc->sc_acpi->sc_ec != NULL) { - printf(": Only single EC is supported!\n"); + printf(": Only single EC is supported\n"); return; } diff --git a/sys/dev/acpi/acpiprt.c b/sys/dev/acpi/acpiprt.c index 5b0d0d4b515..66eca945092 100644 --- a/sys/dev/acpi/acpiprt.c +++ b/sys/dev/acpi/acpiprt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiprt.c,v 1.18 2007/10/08 04:15:15 krw Exp $ */ +/* $OpenBSD: acpiprt.c,v 1.19 2007/11/12 21:38:31 deraadt Exp $ */ /* * Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org> * @@ -169,7 +169,7 @@ acpiprt_prt_add(struct acpiprt_softc *sc, struct aml_value *v) if (pp->type == AML_OBJTYPE_NAMEREF) { node = aml_searchname(sc->sc_devnode, pp->v_nameref); if (node == NULL) { - printf("Invalid device!\n"); + printf("Invalid device\n"); return; } pp = node->value; diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index ee9d6ad022d..861c508a0bc 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.19 2007/11/03 18:41:32 deraadt Exp $ */ +/* $OpenBSD: acpitz.c,v 1.20 2007/11/12 21:38:31 deraadt Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -109,7 +109,7 @@ acpitz_attach(struct device *parent, struct device *self, void *aux) } if ((sc->sc_crt = acpitz_getreading(sc, "_CRT")) == -1) { - printf(": no critical temperature defined!\n"); + printf(": no critical temperature defined\n"); sc->sc_crt = 0; } else printf(": critical temperature %d degC\n", @@ -248,14 +248,14 @@ acpitz_refresh(void *arg) sc->sc_devnode->parent->name); if (-1 == (sc->sc_tmp = acpitz_getreading(sc, "_TMP"))) { - dnprintf(30, "%s: %s: failed to read temp!\n", DEVNAME(sc), + dnprintf(30, "%s: %s: failed to read temp\n", DEVNAME(sc), sc->sc_devnode->parent->name); sc->sc_tmp = 0; /* XXX */ } if (sc->sc_crt != -1 && sc->sc_crt <= sc->sc_tmp) { /* Do critical shutdown */ - printf("%s: Critical temperature, shutting down!\n", + printf("%s: Critical temperature, shutting down\n", DEVNAME(sc)); acpi_s5 = 1; psignal(initproc, SIGUSR1); |