chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: when status is called without arguments show pager
[elogind.git]
/
src
/
journal
/
sd-journal.c
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 7700d6cb128a1cc7de0d2d52a9ec5f9667b65256..4579e9ee2dedcf532d34b0e382717e79f784eed5 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-186,7
+186,7
@@
static Match *match_new(Match *p, MatchType t) {
if (p) {
m->parent = p;
if (p) {
m->parent = p;
- LIST_PREPEND(
Match,
matches, p->matches, m);
+ LIST_PREPEND(matches, p->matches, m);
}
return m;
}
return m;
@@
-199,7
+199,7
@@
static void match_free(Match *m) {
match_free(m->matches);
if (m->parent)
match_free(m->matches);
if (m->parent)
- LIST_REMOVE(
Match,
matches, m->parent->matches, m);
+ LIST_REMOVE(matches, m->parent->matches, m);
free(m->data);
free(m);
free(m->data);
free(m);
@@
-1276,7
+1276,7
@@
static void check_network(sd_journal *j, int fd) {
static bool file_has_type_prefix(const char *prefix, const char *filename) {
const char *full, *tilded, *atted;
static bool file_has_type_prefix(const char *prefix, const char *filename) {
const char *full, *tilded, *atted;
- full = strappend(prefix, ".journal");
+ full = strappend
a
(prefix, ".journal");
tilded = strappenda(full, "~");
atted = strappenda(prefix, "@");
tilded = strappenda(full, "~");
atted = strappenda(prefix, "@");