From f4e1a42592320505bfe999122a7896298d3d3bc1 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Mon, 6 Jul 2020 20:46:01 +0300 Subject: [PATCH] man: match parentheses 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 | 2 +- man/org.freedesktop.hostname1.xml | 2 +- man/org.freedesktop.systemd1.xml | 4 ++-- man/repart.d.xml | 2 +- man/sd_bus_creds_get_pid.xml | 2 +- man/sd_event_new.xml | 2 +- man/sd_login_monitor_new.xml | 2 +- man/systemd-boot.xml | 2 +- man/systemd-nspawn.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/man/org.freedesktop.home1.xml b/man/org.freedesktop.home1.xml index f65ef33f21..c181f344be 100644 --- a/man/org.freedesktop.home1.xml +++ b/man/org.freedesktop.home1.xml @@ -227,7 +227,7 @@ node /org/freedesktop/home1 { interface. CreateHome() registers and creates a new home directory. This takes a fully - specified JSON user record as argument (including the secret section. This registers + specified JSON user record as argument (including the secret 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. diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index d17d9a5521..6b2341e48c 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -239,7 +239,7 @@ node /org/freedesktop/hostname1 { KernelName, KernelRelease, and KernelVersion expose the kernel name (e.g. Linux), release - (e.g. 5.0.0-11, and version (i.e. the build number, e.g. #11) as + (e.g. 5.0.0-11), and version (i.e. the build number, e.g. #11) as reported by uname2. OperatingSystemPrettyName, OperatingSystemCPEName, and diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index 8e3c7611a8..6b16ae16da 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -1472,12 +1472,12 @@ node /org/freedesktop/systemd1 { 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 (StartUnit(), StopUnit(), KillUnit(), - RestartUnit() and similar, SetProperty) require + RestartUnit() and similar, SetProperty()) require org.freedesktop.systemd1.manage-units. Operations which modify unit file enablement state (EnableUnitFiles(), DisableUnitFiles(), ReenableUnitFiles(), LinkUnitFiles(), PresetUnitFiles, MaskUnitFiles, and similar) require - org.freedesktop.systemd1.manage-unit-files). Operations which modify the + org.freedesktop.systemd1.manage-unit-files. Operations which modify the exported environment (SetEnvironment(), UnsetEnvironment(), UnsetAndSetEnvironment()) require org.freedesktop.systemd1.set-environment. Reload() diff --git a/man/repart.d.xml b/man/repart.d.xml index ac0daaea6f..1b104e76d0 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -140,7 +140,7 @@ root-secondary - Root file system partition of the secondary architecture of the local architecture; usually the matching 32bit architecture for the local 64bit architecture) + Root file system partition of the secondary architecture of the local architecture (usually the matching 32bit architecture for the local 64bit architecture) diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index a7690d5817..a3e8079c51 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -332,7 +332,7 @@ 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 (deleted). + distinguished from one whose name suffix is (deleted)). sd_bus_creds_get_cmdline() will retrieve an array of command line arguments (as stored in diff --git a/man/sd_event_new.xml b/man/sd_event_new.xml index 3db39c9d06..0e572c40ee 100644 --- a/man/sd_event_new.xml +++ b/man/sd_event_new.xml @@ -131,7 +131,7 @@ automatically as the code block is left: { - __attribute__((cleanup(sd_event_unrefp)) sd_event *event = NULL; + __attribute__((cleanup(sd_event_unrefp))) sd_event *event = NULL; int r; … r = sd_event_default(&event); diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index be1c843ee0..d1c83e2d20 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -112,7 +112,7 @@ code block is left: { - __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(&m); diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml index 3288728b2c..c3d7bc9d46 100644 --- a/man/systemd-boot.xml +++ b/man/systemd-boot.xml @@ -343,7 +343,7 @@ boots. bootctl1's and commands make use of these variables. The boot loader modifies LoaderEntryDefault on request, when the d key is used, see - above.) + above. diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 7b643908e0..69558ac85c 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -558,7 +558,7 @@ With option systemd-nspawn waits for the READY=1 message from the init process in the container before sending its own to systemd. For more details about notifications - see sd_notify3). + see sd_notify3.