summaryrefslogtreecommitdiff
path: root/man/sd_journal_query_unique.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/sd_journal_query_unique.xml')
-rw-r--r--man/sd_journal_query_unique.xml2
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>