]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: match parentheses
authorTopi Miettinen <toiwoton@gmail.com>
Mon, 6 Jul 2020 17:46:01 +0000 (20:46 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 7 Jul 2020 11:31:39 +0000 (13:31 +0200)
Files found with:
for f in *; do \
    l=`tr -d '[^(]' < $f | wc -c`; \
    r=`tr -d '[^)]' < $f | wc -c`; \
    if [ $l -ne $r ]; then \
       echo $f $l $r; \
    fi; \
done

man/org.freedesktop.home1.xml
man/org.freedesktop.hostname1.xml
man/org.freedesktop.systemd1.xml
man/repart.d.xml
man/sd_bus_creds_get_pid.xml
man/sd_event_new.xml
man/sd_login_monitor_new.xml
man/systemd-boot.xml
man/systemd-nspawn.xml

index f65ef33f216d112cb6dea1cf01c2aed009ce83fb..c181f344bebbb6f0b5d862b7665d0cb50543b444 100644 (file)
@@ -227,7 +227,7 @@ node /org/freedesktop/home1 {
       interface.</para>
 
       <para><function>CreateHome()</function> registers and creates a new home directory. This takes a fully
-      specified JSON user record as argument (including the <literal>secret</literal> section. This registers
+      specified JSON user record as argument (including the <literal>secret</literal> section). This registers
       the user record locally and creates a home directory matching it, depending on the settings specified
       in the record in combination with local configuration.</para>
 
index d17d9a55213d3549c0e4ecaf82a8e935cbbf8284..6b2341e48c08217531e872ee809cb2ecf4195325 100644 (file)
@@ -239,7 +239,7 @@ node /org/freedesktop/hostname1 {
 
       <para><varname>KernelName</varname>, <varname>KernelRelease</varname>, and
       <varname>KernelVersion</varname> expose the kernel name (e.g. <literal>Linux</literal>), release
-      (e.g. <literal>5.0.0-11</literal>, and version (i.e. the build number, e.g. <literal>#11</literal>) as
+      (e.g. <literal>5.0.0-11</literal>), and version (i.e. the build number, e.g. <literal>#11</literal>) as
       reported by
       <citerefentry project="man-pages"><refentrytitle>uname</refentrytitle><manvolnum>2</manvolnum></citerefentry>.
       <varname>OperatingSystemPrettyName</varname>, <varname>OperatingSystemCPEName</varname>, and
index 8e3c7611a874825988162966e8c62eba817ba6fc..6b16ae16da917b1c15eff47d35bc70534de6089f 100644 (file)
@@ -1472,12 +1472,12 @@ node /org/freedesktop/systemd1 {
       <para>Read access is generally granted to all clients. Additionally, for unprivileged clients, some
       operations are allowed through the polkit privilege system. Operations which modify unit state
       (<function>StartUnit()</function>, <function>StopUnit()</function>, <function>KillUnit()</function>,
-      <function>RestartUnit()</function> and similar, <function>SetProperty</function>) require
+      <function>RestartUnit()</function> and similar, <function>SetProperty()</function>) require
       <interfacename>org.freedesktop.systemd1.manage-units</interfacename>. Operations which modify unit file
       enablement state (<function>EnableUnitFiles()</function>, <function>DisableUnitFiles()</function>,
       <function>ReenableUnitFiles()</function>, <function>LinkUnitFiles()</function>,
       <function>PresetUnitFiles</function>, <function>MaskUnitFiles</function>, and similar) require
-      <interfacename>org.freedesktop.systemd1.manage-unit-files</interfacename>). Operations which modify the
+      <interfacename>org.freedesktop.systemd1.manage-unit-files</interfacename>. Operations which modify the
       exported environment (<function>SetEnvironment()</function>, <function>UnsetEnvironment()</function>,
       <function>UnsetAndSetEnvironment()</function>) require
       <interfacename>org.freedesktop.systemd1.set-environment</interfacename>. <function>Reload()</function>
index ac0daaea6f3d121078f3b8ddf907ba93e30313e1..1b104e76d075c599124a88b7e55c8d172287e2dc 100644 (file)
 
               <row>
                 <entry><constant>root-secondary</constant></entry>
-                <entry>Root file system partition of the secondary architecture of the local architectureusually the matching 32bit architecture for the local 64bit architecture)</entry>
+                <entry>Root file system partition of the secondary architecture of the local architecture (usually the matching 32bit architecture for the local 64bit architecture)</entry>
               </row>
 
               <row>
index a7690d5817443da6c6b169d9123c18476e5105ac..a3e8079c5187a930675a1ff3722c3bcb4aeed770 100644 (file)
     information, in particular it should not be used for security-relevant decisions. That's because the
     executable might have been replaced or removed by the time the value can be processed. Moreover, the
     kernel exports this information in an ambiguous way (i.e. a deleted executable cannot be safely
-    distinguished from one whose name suffix is <literal> (deleted)</literal>.</para>
+    distinguished from one whose name suffix is <literal> (deleted)</literal>).</para>
 
     <para><function>sd_bus_creds_get_cmdline()</function> will
     retrieve an array of command line arguments (as stored in
index 3db39c9d06bfdeaf824e4966e294045f279f8e64..0e572c40ee46a60a2ab6e35437dd4b53ed083738 100644 (file)
     automatically as the code block is left:</para>
 
     <programlisting>{
-        __attribute__((cleanup(sd_event_unrefp)) sd_event *event = NULL;
+        __attribute__((cleanup(sd_event_unrefp))) sd_event *event = NULL;
         int r;
         …
         r = sd_event_default(&amp;event);
index be1c843ee097a8a28fda34a80ea9fb249978bdd7..d1c83e2d20080a3f8e025f4e370588a0378c4e55 100644 (file)
     code block is left:</para>
 
     <programlisting>{
-  __attribute__((cleanup(sd_login_monitor_unrefp)) sd_login_monitor *m = NULL;
+  __attribute__((cleanup(sd_login_monitor_unrefp))) sd_login_monitor *m = NULL;
   int r;
   …
   r = sd_login_monitor_default(&amp;m);
index 3288728b2cf0e9e8f61be30249b84a900f0c448a..c3d7bc9d4687b66c454837896d564e4c3eac08d3 100644 (file)
         boots. <citerefentry><refentrytitle>bootctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
         <option>set-default</option> and <option>set-oneshot</option> commands make use of these variables. The boot
         loader modifies <varname>LoaderEntryDefault</varname> on request, when the <keycap>d</keycap> key is used, see
-        above.)</para></listitem>
+        above.</para></listitem>
       </varlistentry>
 
       <varlistentry>
index 7b643908e091ac74d8c6e43d5aee32634a99b63f..69558ac85cbb5a5deb66063b1a2ab54cf32f0e41 100644 (file)
         With option <option>yes</option> systemd-nspawn waits for the
         <literal>READY=1</literal> message from the init process in the container
         before sending its own to systemd. For more details about notifications
-        see <citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>).</para></listitem>
+        see <citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para></listitem>
       </varlistentry>
     </variablelist>