summaryrefslogtreecommitdiffstats
path: root/src/oom/oomd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-18 16:29:20 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-18 17:20:15 +0200
commitd0cf9a9562fd396ca471613cc9155191b1d77295 (patch)
treea2a2302c3d22dc9c3c550e2b6c24c6422892031d /src/oom/oomd.c
parentsd-bus,sd-event: allow querying of description even after fork (diff)
downloadsystemd-d0cf9a9562fd396ca471613cc9155191b1d77295.tar.xz
systemd-d0cf9a9562fd396ca471613cc9155191b1d77295.zip
oomd: shorten message
We can make the message shorter and more direct without changing the meaning.
Diffstat (limited to 'src/oom/oomd.c')
-rw-r--r--src/oom/oomd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oom/oomd.c b/src/oom/oomd.c
index 28405e2f64..ecc2eda5dc 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");