summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_power.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_power.c')
-rw-r--r--sys/kern/subr_power.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/subr_power.c b/sys/kern/subr_power.c
index 5ab03ad..7d69765 100644
--- a/sys/kern/subr_power.c
+++ b/sys/kern/subr_power.c
@@ -96,8 +96,11 @@ power_profile_set_state(int state)
if (state != power_profile_state) {
power_profile_state = state;
changed = 1;
- printf("system power profile changed to '%s'\n",
- (state == POWER_PROFILE_PERFORMANCE) ? "performance" : "economy");
+ if (bootverbose) {
+ printf("system power profile changed to '%s'\n",
+ (state == POWER_PROFILE_PERFORMANCE) ?
+ "performance" : "economy");
+ }
} else {
changed = 0;
}
OpenPOWER on IntegriCloud