From 0d1aaec2282ee8e82908f9f12d820dab397adc0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 15 Mar 2013 18:10:51 -0400 Subject: [PATCH] man/catalog: fix synopsis and remind to free --- man/sd_journal_get_catalog.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/sd_journal_get_catalog.xml b/man/sd_journal_get_catalog.xml index b3c7b58b0..719d77f72 100644 --- a/man/sd_journal_get_catalog.xml +++ b/man/sd_journal_get_catalog.xml @@ -55,13 +55,13 @@ int sd_journal_get_catalog sd_journal* j - const char** ret + char** ret int sd_journal_get_catalog_for_message_id sd_id128_t id - const char** ret + char** ret @@ -89,7 +89,7 @@ sd_journal_get_catalog() but the entry is looked up by the specified message ID (no open journal context is necessary for this), and no - field substitution is done. + field substitution is performed. For more information about the journal message catalog please refer to the + + On successful return, ret + points to a new string, which must be freed with + free3. + @@ -130,6 +135,7 @@ sd_journal_open3, sd_journal_next3, sd_journal_get_data3 + malloc3 -- 2.30.2