diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 21:18:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 21:18:41 -0400 |
commit | 31b14fdb6f2f018a9d67c9303aac9903b4227dbd (patch) | |
tree | b44e75dc5b0fff27ad008fbea11d7bdcc994bd12 /src/journal/journalctl.c | |
parent | c907cba919a1e9840859296f192f3a55345ff29c (diff) | |
parent | 487ddeb8bc1a05816802adb2d5a9dc4416b386fe (diff) |
Merge pull request #3777 from poettering/id128-rework
uuid/id128 code rework
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 4cc0c2b6c2..53c6180864 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1266,7 +1266,7 @@ static int add_boot(sd_journal *j) { /* Take a shortcut and use the current boot_id, which we can do very quickly. * We can do this only when we logs are coming from the current machine, * so take the slow path if log location is specified. */ - if (arg_boot_offset == 0 && sd_id128_equal(arg_boot_id, SD_ID128_NULL) && + if (arg_boot_offset == 0 && sd_id128_is_null(arg_boot_id) && !arg_directory && !arg_file) return add_match_this_boot(j, arg_machine); |