diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/sd_journal_next.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_journal_next.xml b/man/sd_journal_next.xml index 0216d6e089..5e691a15ba 100644 --- a/man/sd_journal_next.xml +++ b/man/sd_journal_next.xml @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) { const char *d; size_t l; - r = sd_journal_get_data(j, "MESSAGE", &d, &l); + r = sd_journal_get_data(j, "MESSAGE", (const void **)&d, &l); if (r < 0) { fprintf(stderr, "Failed to read message field: %s\n", strerror(-r)); continue; |