summaryrefslogtreecommitdiff
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-11-16 01:34:53 +0100
committerLennart Poettering <lennart@poettering.net>2012-11-16 01:35:11 +0100
commit83f6936a018b08880670838756e0f4e9ea98b4a7 (patch)
treec3e91e52f8e84a30e6944c20c35971b3a2de1cf6 /src/journal/journalctl.c
parent0049f05a8bb82c3e084bacc5945596761d706c55 (diff)
journal: extend catalog header to 64bit for all fields, just to be safe and follow the rest of the file formats
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 46a7be20ce..8f452dd92d 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -867,6 +867,8 @@ int main(int argc, char *argv[]) {
if (arg_action == ACTION_LIST_CATALOG) {
r = catalog_list(stdout);
+ if (r < 0)
+ log_error("Failed to list catalog: %s", strerror(-r));
goto finish;
}