diff options
author | njl <njl@FreeBSD.org> | 2004-01-02 18:24:13 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-01-02 18:24:13 +0000 |
commit | 8fe7e8ee2d23f378389245495723f5b0a2c288d7 (patch) | |
tree | 8369cb325a166ebf096e7628806df90341203d2c /sys/kern | |
parent | 4b402f674441038004b34fa2a317bebdce026570 (diff) | |
download | FreeBSD-src-8fe7e8ee2d23f378389245495723f5b0a2c288d7.zip FreeBSD-src-8fe7e8ee2d23f378389245495723f5b0a2c288d7.tar.gz |
Move the kernel power change printf under bootverbose since the
power_profile script now duplicates the message via syslog.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_power.c | 7 |
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; } |