summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-08-12 15:16:24 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-08-12 15:16:24 +0000
commitc2538e82b936f021710c766092bc38b090f54cc3 (patch)
tree6dfb818ed1221bf003c50fd14ca116f357cccf3d /sys/arch
parent55f6b28117be0396928dbdf53602c3f26b783d96 (diff)
Add missing newlines to some printfs in est_acpi_pss_changed()
ok jsg
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/est.c6
-rw-r--r--sys/arch/i386/i386/est.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/est.c b/sys/arch/amd64/amd64/est.c
index c6c2236c96d..a2f86612e71 100644
--- a/sys/arch/amd64/amd64/est.c
+++ b/sys/arch/amd64/amd64/est.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: est.c,v 1.41 2021/08/12 15:13:52 tb Exp $ */
+/* $OpenBSD: est.c,v 1.42 2021/08/12 15:16:23 tb Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@@ -298,14 +298,14 @@ est_acpi_pss_changed(struct acpicpu_pss *pss, int npss)
if ((acpilist = malloc(sizeof(struct fqlist), M_DEVBUF, M_NOWAIT))
== NULL) {
printf("est_acpi_pss_changed: cannot allocate memory for new "
- "est state");
+ "est state\n");
return;
}
if ((acpilist->table = mallocarray(npss, sizeof(struct est_op),
M_DEVBUF, M_NOWAIT)) == NULL) {
printf("est_acpi_pss_changed: cannot allocate memory for new "
- "operating points");
+ "operating points\n");
free(acpilist, M_DEVBUF, sizeof(struct fqlist));
return;
}
diff --git a/sys/arch/i386/i386/est.c b/sys/arch/i386/i386/est.c
index 2f4314c6e70..7f2fd0147a3 100644
--- a/sys/arch/i386/i386/est.c
+++ b/sys/arch/i386/i386/est.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: est.c,v 1.52 2018/03/31 13:45:03 bluhm Exp $ */
+/* $OpenBSD: est.c,v 1.53 2021/08/12 15:16:23 tb Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@@ -1017,14 +1017,14 @@ est_acpi_pss_changed(struct acpicpu_pss *pss, int npss)
if ((acpilist = malloc(sizeof(struct fqlist), M_DEVBUF, M_NOWAIT))
== NULL) {
printf("est_acpi_pss_changed: cannot allocate memory for new "
- "est state");
+ "est state\n");
return;
}
if ((acpilist->table = mallocarray(npss, sizeof(struct est_op),
M_DEVBUF, M_NOWAIT)) == NULL) {
printf("est_acpi_pss_changed: cannot allocate memory for new "
- "operating points");
+ "operating points\n");
free(acpilist, M_DEVBUF, sizeof(*acpilist));
return;
}