From d0cf9a9562fd396ca471613cc9155191b1d77295 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 May 2023 16:29:20 +0200 Subject: [PATCH] oomd: shorten message We can make the message shorter and more direct without changing the meaning. --- src/oom/oomd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.47.3