From: Lennart Poettering Date: Fri, 13 Jul 2012 19:54:19 +0000 (+0200) Subject: man: fix various typos X-Git-Tag: v187~93 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=19125c205aa6084c225b5c11cc6dcbe18c6dbcc0;ds=sidebyside man: fix various typos --- diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index f4db2a392..6c2660c4a 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -44,8 +44,8 @@ sd_journal_get_fd - sd_journal_get_process - sd_journal_get_wait + sd_journal_process + sd_journal_wait Journal change notification interface diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index 71551f779..65694a2e3 100644 --- a/man/sd_journal_print.xml +++ b/man/sd_journal_print.xml @@ -122,7 +122,7 @@ used to submit structured log entries to the system journal. It takes a series of format strings, each immediately followed by their associated parameters, - terminated by a NULL. The strings passed should be of + terminated by NULL. The strings passed should be of the format VARIABLE=value. The variable name must be in uppercase and consist only of characters, numbers and underscores, and may not @@ -150,7 +150,7 @@ journal where that is necessary. Note that sd_journal_send() - is a wapper around + is a wrapper around sd_journal_sendv() to make it easier to use when only text strings shall be submitted. Also, the following two calls are @@ -171,7 +171,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( syslog3 and and sd_journal_print() may - mostly be used interchangably + largely be used interchangably functionality-wise. However, note that log messages logged via the former take a different path to the journal server than the later, and hence global diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index 917ab4fe8..662c7bbbb 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; }