summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-11-16 17:35:06 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-11-16 17:35:06 +0000
commitbb1056f6e504d155f14e90fcef0ffe03b3d75cb4 (patch)
tree3b5c522617afd2a6baa7eb96a17c2332137a75e6 /usr.sbin
parenta63ff11326a7740a4fedbb14f0b3163b029d2b70 (diff)
fix log messages, from jan stary
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/apmd/apmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index 1d278a255a2..666ae0d0d29 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmd.c,v 1.78 2015/11/13 12:59:25 jca Exp $ */
+/* $OpenBSD: apmd.c,v 1.79 2015/11/16 17:35:05 tedu Exp $ */
/*
* Copyright (c) 1995, 1996 John T. Kohl
@@ -277,7 +277,7 @@ handle_client(int sock_fd, int ctl_fd)
case SETPERF_LOW:
doperf = PERF_MANUAL;
reply.newstate = NORMAL;
- syslog(LOG_NOTICE, "setting hw.perfpolicy to manual");
+ syslog(LOG_NOTICE, "setting hw.perfpolicy to low");
setperfpolicy("low");
break;
case SETPERF_HIGH:
@@ -305,7 +305,7 @@ handle_client(int sock_fd, int ctl_fd)
reply.perfmode = doperf;
reply.vno = APMD_VNO;
if (send(cli_fd, &reply, sizeof(reply), 0) != sizeof(reply))
- syslog(LOG_INFO, "client reply botch");
+ syslog(LOG_INFO, "reply to client botched");
close(cli_fd);
return reply.newstate;