chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91b32fa
)
man: fix example
author
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Oct 2012 23:06:43 +0000
(
01:06
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Oct 2012 23:18:40 +0000
(
01:18
+0200)
man/sd_journal_add_match.xml
patch
|
blob
|
history
diff --git
a/man/sd_journal_add_match.xml
b/man/sd_journal_add_match.xml
index f9ffc9132672bf587a591be9de2aff9e749a48c5..ad2486d749ba67b909623e2290df92c65b88e77e 100644
(file)
--- 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) {
<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_disjunction(j);
- sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964");
+ sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964"
, 0
);
}</programlisting>
</refsect1>
}</programlisting>
</refsect1>