From: Zbigniew Jędrzejewski-Szmek Date: Thu, 18 May 2023 14:29:20 +0000 (+0200) Subject: oomd: shorten message X-Git-Tag: v254-rc1~444^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F27686%2Fhead;p=thirdparty%2Fsystemd.git oomd: shorten message We can make the message shorter and more direct without changing the meaning. --- diff --git a/src/oom/oomd.c b/src/oom/oomd.c index 28405e2f646..ecc2eda5dc0 100644 --- a/src/oom/oomd.c +++ b/src/oom/oomd.c @@ -146,7 +146,7 @@ static int run(int argc, char *argv[]) { r = safe_atollu(swap, &s); if (r < 0 || s == 0) - log_warning("Swap is currently not detected; memory pressure usage will be degraded"); + log_warning("No swap; memory pressure usage will be degraded"); if (!is_pressure_supported()) return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Pressure Stall Information (PSI) is not supported");