From bb1056f6e504d155f14e90fcef0ffe03b3d75cb4 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 16 Nov 2015 17:35:06 +0000 Subject: fix log messages, from jan stary --- usr.sbin/apmd/apmd.c | 6 +++--- 1 file 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; -- cgit v1.2.3