summaryrefslogtreecommitdiffstats
path: root/man/sd_id128_get_machine.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-08 07:43:26 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-12 13:57:31 +0100
commita237c6e0b0b294cebc084891a84173a19eb69172 (patch)
tree539932622762c628bda725e7adc9e6dc344a427b /man/sd_id128_get_machine.xml
parenttest: add tests for "uninitialized" string handling by id128_read_fd() (diff)
downloadsystemd-a237c6e0b0b294cebc084891a84173a19eb69172.tar.xz
systemd-a237c6e0b0b294cebc084891a84173a19eb69172.zip
man: mention sd_id128_get_machine() or friend may return -ENOPKG
Diffstat (limited to 'man/sd_id128_get_machine.xml')
-rw-r--r--man/sd_id128_get_machine.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml
index a778f8a2b0..8bc76b686b 100644
--- a/man/sd_id128_get_machine.xml
+++ b/man/sd_id128_get_machine.xml
@@ -145,6 +145,14 @@
</varlistentry>
<varlistentry>
+ <term><constant>-ENOPKG</constant></term>
+
+ <listitem><para>Returned by <function>sd_id128_get_machine()</function> and
+ <function>sd_id128_get_machine_app_specific()</function> when the content of
+ <filename>/etc/machine-id</filename> is <literal>uninitialized</literal>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><constant>-ENXIO</constant></term>
<listitem><para>Returned by <function>sd_id128_get_invocation()</function> if no invocation ID is