diff options
author | Daniel Mack <github@zonque.org> | 2015-10-01 09:46:09 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-10-01 09:46:09 +0200 |
commit | 47c67a5042968163dae8d4e4d160232800843e55 (patch) | |
tree | 8b30347368544961ff6e08d4330fa014b5e43cfc /src/journal/journalctl.c | |
parent | 8abf5291564e771bfc62c74a55ab3f3b56f45257 (diff) | |
parent | 5c22925a5713ad6f62d89ef478b82e571e9ba688 (diff) |
Merge pull request #1426 from poettering/log-syntax
logging fixes and more
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 b42c51a29b..28ccb80661 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1585,7 +1585,7 @@ static int verify(sd_journal *j) { /* If the key was invalid give up right-away. */ return k; } else if (k < 0) { - log_warning("FAIL: %s (%s)", f->path, strerror(-k)); + log_warning_errno(k, "FAIL: %s (%m)", f->path); r = k; } else { char a[FORMAT_TIMESTAMP_MAX], b[FORMAT_TIMESTAMP_MAX], c[FORMAT_TIMESPAN_MAX]; |