summaryrefslogtreecommitdiffstats
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r--src/journal/journalctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 45173a6813..369280a009 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -33,7 +33,7 @@ enum {
JournalctlAction arg_action = ACTION_SHOW;
OutputMode arg_output = OUTPUT_SHORT;
-JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF;
+sd_json_format_flags_t arg_json_format_flags = SD_JSON_FORMAT_OFF;
PagerFlags arg_pager_flags = 0;
bool arg_utc = false;
bool arg_follow = false;
@@ -460,9 +460,9 @@ static int parse_argv(int argc, char *argv[]) {
arg_quiet = true;
if (OUTPUT_MODE_IS_JSON(arg_output))
- arg_json_format_flags = output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR_AUTO;
+ arg_json_format_flags = output_mode_to_json_format_flags(arg_output) | SD_JSON_FORMAT_COLOR_AUTO;
else
- arg_json_format_flags = JSON_FORMAT_OFF;
+ arg_json_format_flags = SD_JSON_FORMAT_OFF;
break;