man: fix example

This commit is contained in:
Lennart Poettering 2012-10-26 01:06:43 +02:00
parent 91b32fa987
commit 0bc6235280
1 changed files with 6 additions and 6 deletions

View File

@ -162,13 +162,13 @@
<programlisting>... <programlisting>...
int add_matches(sd_journal *j) { int add_matches(sd_journal *j) {
sd_journal_add_match(j, "_SYSTEMD_UNIT=avahi-daemon.service"); sd_journal_add_match(j, "_SYSTEMD_UNIT=avahi-daemon.service", 0);
sd_journal_add_match(j, "PRIORITY=0"); sd_journal_add_match(j, "PRIORITY=0", 0);
sd_journal_add_match(j, "PRIORITY=1"); sd_journal_add_match(j, "PRIORITY=1", 0);
sd_journal_add_match(j, "PRIORITY=2"); sd_journal_add_match(j, "PRIORITY=2", 0);
sd_journal_add_match(j, "PRIORITY=3"); sd_journal_add_match(j, "PRIORITY=3", 0);
sd_journal_add_disjunction(j); sd_journal_add_disjunction(j);
sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964"); sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964", 0);
}</programlisting> }</programlisting>
</refsect1> </refsect1>