From: Lennart Poettering Date: Wed, 10 Jun 2020 14:52:08 +0000 (+0200) Subject: sleep-config: downgrade log level in can_s2h() X-Git-Tag: v246-rc1~163^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c732e8797987057671b9c2b23a38ce768080f039;p=thirdparty%2Fsystemd.git sleep-config: downgrade log level in can_s2h() As in the previous commit: can_sleep() is more a library-style function, hence log at debug level only. --- diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c index afc7d208c71..3a354e172e6 100644 --- a/src/shared/sleep-config.c +++ b/src/shared/sleep-config.c @@ -588,8 +588,7 @@ static bool can_s2h(const SleepConfig *sleep_config) { int r; if (!clock_supported(CLOCK_BOOTTIME_ALARM)) { - log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, - "CLOCK_BOOTTIME_ALARM is not supported"); + log_debug("CLOCK_BOOTTIME_ALARM is not supported."); return false; }