chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: document more URLs for journal-gatewayd
[elogind.git]
/
man
/
sd_journal_stream_fd.xml
diff --git
a/man/sd_journal_stream_fd.xml
b/man/sd_journal_stream_fd.xml
index 917ab4fe816bfef96991dd68b45346132036ea2a..4407296b4059f1efce81a518cd098b527d94a519 100644
(file)
--- a/
man/sd_journal_stream_fd.xml
+++ b/
man/sd_journal_stream_fd.xml
@@
-96,7
+96,7
@@
for more information.</para>
<para>It is recommended that applications log UTF-8
for more information.</para>
<para>It is recommended that applications log UTF-8
- mesages only with this API, but this is not
+ mes
s
ages only with this API, but this is not
enforced.</para>
</refsect1>
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);
fprintf(log, "Hello World!\n");
fprintf(log, SD_WARNING "This is a warning!\n");
fclose(log);
+ return 0;
}</programlisting>
</refsect1>
}</programlisting>
</refsect1>