chiark / gitweb /
man/sd_journal_next: fix argument in example
authorChristian Hesse <mail@eworm.de>
Tue, 1 Jul 2014 08:22:50 +0000 (10:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Jul 2014 14:38:37 +0000 (16:38 +0200)
commit8959ae0d4cc7921293a21182693b7d953f6cce9b
treeed33923f966243fb5eb217800eded8e72f75979e
parent793c098f0ad558eb8d4f9ce9291a5f5df473dd1a
man/sd_journal_next: fix argument in example

The example does not compile, it fails with:

error: passing argument 3 of ‘sd_journal_get_data’ from incompatible
pointer type

Cast to (const void **) to avoid this.
man/sd_journal_next.xml