1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

Merge pull request #7897 from yuwata/small-man-fixes

Several man fixes
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-01-17 20:13:54 +11:00 committed by GitHub
commit 58eab88176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View File

@ -439,7 +439,6 @@
specified, the connection is made to the local host
instead. This works similar to <command>login</command> but
immediately invokes a user process. This command runs the
specified executable with the specified arguments, or
specified executable with the specified arguments, or the
default shell for the user if none is specified, or
<filename>/bin/sh</filename> if no default shell is found. By default,

View File

@ -877,6 +877,10 @@ Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago
non-zero otherwise. Unless <option>--quiet</option> is
specified, this will also print the current unit state to
standard output.</para>
<para>Unlike <command>status</command> or <command>show</command> commands, this does not
load units. So, when a specified unit is an alias of another unit and is not loaded,
then this outputs "inactive", even if the aliased unit is active.</para>
</listitem>
</varlistentry>
<varlistentry>
@ -889,6 +893,10 @@ Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago
non-zero otherwise. Unless <option>--quiet</option> is
specified, this will also print the current unit state to
standard output.</para>
<para>Unlike <command>status</command> or <command>show</command> commands, this does not
load units. So, when a specified unit is an alias of another unit and is not loaded,
then this outputs "inactive", even if the aliased unit is failed.</para>
</listitem>
</varlistentry>
<varlistentry>
@ -987,6 +995,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
are always exposed as properties ending in the <literal>…USec</literal> suffix even if a matching
configuration options end in <literal>…Sec</literal>, because microseconds is the normalized time unit used
by the system and service manager.</para>
<para>As similar to <command>status</command> command, systemd implicitly loads units as necessary.
See also <command>status</command> command for the detail.</para>
</listitem>
</varlistentry>
<varlistentry>

View File

@ -222,6 +222,8 @@ static int detect_vm_xen_dom0(void) {
if (r == 0) {
unsigned long features;
/* Here, we need to use sscanf() instead of safe_atoul()
* as the string lacks the leading "0x". */
r = sscanf(domcap, "%lx", &features);
if (r == 1) {
r = !!(features & (1U << XENFEAT_dom0));