summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 21:54:19 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 21:54:19 +0200
commit19125c205aa6084c225b5c11cc6dcbe18c6dbcc0 (patch)
tree04dc379fb2f0f0079c4c6292e6ee2e7b5641c469
parente362b3725a70102aedfda5f2f3f3cbce21e6feaf (diff)
man: fix various typos
-rw-r--r--man/sd_journal_get_fd.xml4
-rw-r--r--man/sd_journal_print.xml6
-rw-r--r--man/sd_journal_stream_fd.xml1
3 files changed, 6 insertions, 5 deletions
diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml
index f4db2a392a..6c2660c4a4 100644
--- a/man/sd_journal_get_fd.xml
+++ b/man/sd_journal_get_fd.xml
@@ -44,8 +44,8 @@
<refnamediv>
<refname>sd_journal_get_fd</refname>
- <refname>sd_journal_get_process</refname>
- <refname>sd_journal_get_wait</refname>
+ <refname>sd_journal_process</refname>
+ <refname>sd_journal_wait</refname>
<refpurpose>Journal change notification
interface</refpurpose>
</refnamediv>
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index 71551f779a..65694a2e30 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 <literal>VARIABLE=value</literal>. 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.</para>
<para>Note that <function>sd_journal_send()</function>
- is a wapper around
+ is a wrapper around
<function>sd_journal_sendv()</function> 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(
<para><citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>
and and <function>sd_journal_print()</function> 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 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>