]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_journal_get_data.xml
mount-util: shorten the loop a bit (#7545)
[thirdparty/systemd.git] / man / sd_journal_get_data.xml
index 1321114de0c3c66f4e3d0cb06ddfcac3cab90c75..831ed0bc6e9254d1aca32d547b567f1cd49f298f 100644 (file)
@@ -3,6 +3,8 @@
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <!--
+  SPDX-License-Identifier: LGPL-2.1+
+
   This file is part of systemd.
 
   Copyright 2012 Lennart Poettering
     iterate through all fields of the current journal
     entry:</para>
 
-    <programlisting>...
+    <programlisting>
 int print_fields(sd_journal *j) {
   const void *data;
   size_t length;
   SD_JOURNAL_FOREACH_DATA(j, data, length)
     printf("%.*s\n", (int) length, data);
 }
-...</programlisting>
+</programlisting>
 
   </refsect1>