]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man,catalog: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Feb 2023 23:52:39 +0000 (08:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Feb 2023 23:52:42 +0000 (08:52 +0900)
Follow-up for #26448.

catalog/systemd.catalog.in
man/sd_event_add_memory_pressure.xml

index 82d4820b80602e63f5602df0e8c1150a657af5db..d3d03dafe7162767e5f3efed81cdb7f41d5efd35 100644 (file)
@@ -558,7 +558,7 @@ Support: %SUPPORT_URL%
 Memory of process @_PID@ (@_COMM@) has been trimmed.
 
 Either on user request or as result of a memory pressure event, memory of the
-process has been trimmed, returning unneded allocation caches and other
+process has been trimmed, returning unneeded allocation caches and other
 resources back to the OS kernel, making them available for other components of
 the OS.
 
index 46cae0d16db8ee93c5925bdfa3addd427198b9e2..5baa411dfa79e5084c2e2ee769efe434763fd90d 100644 (file)
     <literal>full</literal> as second parameter, the latter takes threshold and period times in microseconds
     as parameters. For details about these three parameters see the PSI documentation. Note that these two
     calls must be invoked immediately after allocating the event source, as they must be configured before
-    polling begins. Also note that these calls will fail if memory pressure paramterization has been passed
+    polling begins. Also note that these calls will fail if memory pressure parameterization has been passed
     in via the <varname>$MEMORY_PRESSURE_WATCH</varname>/<varname>$MEMORY_PRESSURE_WRITE</varname>
     environment variables (or in other words: configuration supplied by a service manager wins over internal
     settings).</para>
 
           <listitem><para>This is returned by <function>sd_event_source_set_memory_pressure_type()</function>
           and <function>sd_event_source_set_memory_pressure_period()</function> if invoked on event sources
-          at a time later than immediately after allocting them.</para></listitem>
+          at a time later than immediately after allocating them.</para></listitem>
         </varlistentry>
 
         <varlistentry>