]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
oomd: shorten message 27686/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 May 2023 14:29:20 +0000 (16:29 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 May 2023 15:20:15 +0000 (17:20 +0200)
We can make the message shorter and more direct without changing
the meaning.

src/oom/oomd.c

index 28405e2f6463ce14b4e13c14a9d867f005d5e7c4..ecc2eda5dc00fcf3920eef0b3fa756512d16b540 100644 (file)
@@ -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");