chiark / gitweb /
man: document more URLs for journal-gatewayd
[elogind.git] / man / sd_journal_stream_fd.xml
index 917ab4fe816bfef96991dd68b45346132036ea2a..4407296b4059f1efce81a518cd098b527d94a519 100644 (file)
@@ -96,7 +96,7 @@
                 for more information.</para>
 
                 <para>It is recommended that applications log UTF-8
-                mesages only with this API, but this is not
+                messages only with this API, but this is not
                 enforced.</para>
 
         </refsect1>
@@ -149,6 +149,7 @@ int main(int argc, char *argv[]) {
         fprintf(log, "Hello World!\n");
         fprintf(log, SD_WARNING "This is a warning!\n");
         fclose(log);
+        return 0;
 }</programlisting>
 
         </refsect1>