summaryrefslogtreecommitdiff
path: root/man/sd_journal_stream_fd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/sd_journal_stream_fd.xml')
-rw-r--r--man/sd_journal_stream_fd.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml
index 917ab4fe81..662c7bbbb9 100644
--- a/man/sd_journal_stream_fd.xml
+++ b/man/sd_journal_stream_fd.xml
@@ -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>