From: Zbigniew Jędrzejewski-Szmek Date: Thu, 18 Oct 2012 21:34:38 +0000 (+0200) Subject: man: fix compilation warning in sd_journal_query_unique example X-Git-Tag: v195~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=774471b68a948e58c9fc79d61b6f79dbc2e01b37;p=thirdparty%2Fsystemd.git man: fix compilation warning in sd_journal_query_unique example --- diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index b0e43dfeebb..f2f8af0eb5a 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -191,7 +191,7 @@ int main(int argc, char *argv[]) { return 1; } SD_JOURNAL_FOREACH_UNIQUE(j, d, l) - printf("%.*s\n", (int) l, d); + printf("%.*s\n", (int) l, (const char*) d); sd_journal_close(j); return 0; }