diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-18 23:34:38 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-18 23:45:30 +0200 |
commit | 774471b68a948e58c9fc79d61b6f79dbc2e01b37 (patch) | |
tree | bea577081890c78557655f76ba4a983ddc3b7716 | |
parent | ad57912eb0ec7d4fabd6a8d4267baa669bd04bb2 (diff) |
man: fix compilation warning in sd_journal_query_unique example
-rw-r--r-- | man/sd_journal_query_unique.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index b0e43dfeeb..f2f8af0eb5 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; }</programlisting> |