summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-07-01 10:22:51 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-01 16:38:40 +0200
commit02ea24ca2a0aac854c4e9e7d712f6464c8b29e4a (patch)
treefaefb0cac470d050352dbf5d97e8fd1e40335506 /man
parent8959ae0d4cc7921293a21182693b7d953f6cce9b (diff)
man/sd_journal_get_data: fix variable naming in example
Diffstat (limited to 'man')
-rw-r--r--man/sd_journal_get_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml
index 343b680bcb..1222939047 100644
--- a/man/sd_journal_get_data.xml
+++ b/man/sd_journal_get_data.xml
@@ -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);
}