summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-17 07:35:06 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-17 17:20:57 +0200
commit25277cd7fbd77e4c8b20572570aa77c7da9abcc2 (patch)
tree36360a3e8de671074573176ee6702465724620d7 /src/journal
parentb694b00b450673f4bc2d47aebeb0c091e66d1b25 (diff)
logs: Adapt interface in log-show.c (output_journal)
In preparation for adding more output switches, convert a series of flags arguments into one flag variable.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 0d37107874..016750c201 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -434,7 +434,8 @@ int main(int argc, char *argv[]) {
line ++;
- r = output_journal(j, arg_output, line, 0, arg_show_all);
+ r = output_journal(j, arg_output, line, 0,
+ arg_show_all ? OUTPUT_SHOW_ALL : 0);
if (r < 0)
goto finish;