diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-26 01:06:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-26 01:18:40 +0200 |
commit | 0bc62352805b98cebe5debb12a5d45adfc0c66d1 (patch) | |
tree | c9cdef398ceae45534ed997a78a382aee51223dc /man/sd_journal_add_match.xml | |
parent | 91b32fa987a4a50faf3d8561b28b6c9d5150adef (diff) |
man: fix example
Diffstat (limited to 'man/sd_journal_add_match.xml')
-rw-r--r-- | man/sd_journal_add_match.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/sd_journal_add_match.xml b/man/sd_journal_add_match.xml index f9ffc91326..ad2486d749 100644 --- a/man/sd_journal_add_match.xml +++ b/man/sd_journal_add_match.xml @@ -162,13 +162,13 @@ <programlisting>... int add_matches(sd_journal *j) { - sd_journal_add_match(j, "_SYSTEMD_UNIT=avahi-daemon.service"); - sd_journal_add_match(j, "PRIORITY=0"); - sd_journal_add_match(j, "PRIORITY=1"); - sd_journal_add_match(j, "PRIORITY=2"); - sd_journal_add_match(j, "PRIORITY=3"); + sd_journal_add_match(j, "_SYSTEMD_UNIT=avahi-daemon.service", 0); + sd_journal_add_match(j, "PRIORITY=0", 0); + sd_journal_add_match(j, "PRIORITY=1", 0); + sd_journal_add_match(j, "PRIORITY=2", 0); + sd_journal_add_match(j, "PRIORITY=3", 0); sd_journal_add_disjunction(j); - sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964"); + sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964", 0); }</programlisting> </refsect1> |