From 951aba625e2d6c152225a0f572268f12280b6e69 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Dec 2016 19:27:17 +0100 Subject: [PATCH] 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 --- man/sd_journal_print.xml | 19 ++++++++----------- 1 file 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( Return Value - The four calls return 0 on success or a negative errno-style - error code. The - errno3 - variable itself is not altered. + The five calls return 0 on success or a negative errno-style error code. The errno3 variable itself is + not altered. If systemd-journald8 @@ -218,13 +217,11 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( Notes - The sd_journal_print(), - sd_journal_printv(), - sd_journal_send() and - sd_journal_sendv() interfaces are available - as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 - file. + The sd_journal_print(), sd_journal_printv(), + sd_journal_send(), sd_journal_sendv() and + sd_journal_perror() interfaces are available as a shared library, which can be compiled and + linked to with the libsystemd pkg-config1 file.