[systemd-commits] man/sd_journal_query_unique.xml
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Thu Oct 18 14:48:23 PDT 2012
man/sd_journal_query_unique.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 774471b68a948e58c9fc79d61b6f79dbc2e01b37
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 18 23:34:38 2012 +0200
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 b0e43df..f2f8af0 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>
More information about the systemd-commits
mailing list