X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_stream_fd.xml;h=4407296b4059f1efce81a518cd098b527d94a519;hp=917ab4fe816bfef96991dd68b45346132036ea2a;hb=fa70beaabc56762fdf77e675c3e09bb638d89938;hpb=67c3cf4f9ea35c1f789526b24a4d052d071902c0 diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index 917ab4fe8..4407296b4 100644 --- a/man/sd_journal_stream_fd.xml +++ b/man/sd_journal_stream_fd.xml @@ -96,7 +96,7 @@ for more information. 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. @@ -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; }