diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-25 15:57:36 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-25 15:57:36 -0400 |
commit | 47005cf1cf3a3602b6793973959a0e86fd295eab (patch) | |
tree | 1d3563704bb669cc6abbc504e06c4ec83b86a2df /src/journal/test-journal-flush.c | |
parent | 61837e19c6abe9470846674d921b88516c5ec2f9 (diff) | |
parent | 52051dd84c45c745ca877d8893be6f71aa27bf97 (diff) |
Merge pull request #3109 from poettering/journal-by-fd
rework "journalctl -M"
Diffstat (limited to 'src/journal/test-journal-flush.c')
-rw-r--r-- | src/journal/test-journal-flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-journal-flush.c b/src/journal/test-journal-flush.c index 93dc0e0d81..ba8b20b228 100644 --- a/src/journal/test-journal-flush.c +++ b/src/journal/test-journal-flush.c @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) { assert_se(mkdtemp(dn)); fn = strappend(dn, "/test.journal"); - r = journal_file_open(fn, O_CREAT|O_RDWR, 0644, false, false, NULL, NULL, NULL, NULL, &new_journal); + r = journal_file_open(-1, fn, O_CREAT|O_RDWR, 0644, false, false, NULL, NULL, NULL, NULL, &new_journal); assert_se(r >= 0); r = sd_journal_open(&j, 0); |