[systemd-devel] [PATCH 2/2] man/sd_journal_get_data: fix variable naming in example

Lennart Poettering lennart at poettering.net
Tue Jul 1 07:39:56 PDT 2014


On Tue, 01.07.14 10:22, Christian Hesse (list at eworm.de) wrote:

> From: Christian Hesse <mail at eworm.de>

Thanks!

Applied both!
> 
> ---
>  man/sd_journal_get_data.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml
> index 343b680..1222939 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);
>  }


Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list