mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
man/sd_journal_get_data: fix variable naming in example
This commit is contained in:
committed by
Lennart Poettering
parent
8959ae0d4c
commit
02ea24ca2a
@@ -225,7 +225,7 @@
|
||||
<programlisting>...
|
||||
int print_fields(sd_journal *j) {
|
||||
const void *data;
|
||||
size_t l;
|
||||
size_t length;
|
||||
SD_JOURNAL_FOREACH_DATA(j, data, length)
|
||||
printf("%.*s\n", (int) length, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user