summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-06 19:27:17 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-14 18:29:30 +0100
commit951aba625e2d6c152225a0f572268f12280b6e69 (patch)
treeaf54a3a0fdfc1c9aef54556563f55bcd082a7e5b /man
parent2eec83d9302f4a061a6a99e2157787804a8c8a2f (diff)
man: minor fixes for sd_journal_print(3)
When sd_journal_perror() was added some footers weren't updated accordingly. Let's do so. Fixes: #4755
Diffstat (limited to 'man')
-rw-r--r--man/sd_journal_print.xml19
1 files changed, 8 insertions, 11 deletions
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index 5538805e65..ff3638c909 100644
--- a/man/sd_journal_print.xml
+++ b/man/sd_journal_print.xml
@@ -189,10 +189,9 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
<refsect1>
<title>Return Value</title>
- <para>The four calls return 0 on success or a negative errno-style
- error code. The
- <citerefentry project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>
- variable itself is not altered.</para>
+ <para>The five calls return 0 on success or a negative errno-style error code. The <citerefentry
+ project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry> variable itself is
+ not altered.</para>
<para>If
<citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry>
@@ -218,13 +217,11 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
<refsect1>
<title>Notes</title>
- <para>The <function>sd_journal_print()</function>,
- <function>sd_journal_printv()</function>,
- <function>sd_journal_send()</function> and
- <function>sd_journal_sendv()</function> interfaces are available
- as a shared library, which can be compiled and linked to with the
- <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
- file.</para>
+ <para>The <function>sd_journal_print()</function>, <function>sd_journal_printv()</function>,
+ <function>sd_journal_send()</function>, <function>sd_journal_sendv()</function> and
+ <function>sd_journal_perror()</function> interfaces are available as a shared library, which can be compiled and
+ linked to with the <constant>libsystemd</constant> <citerefentry
+ project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para>
</refsect1>
<refsect1>