summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-23 21:31:07 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-23 21:31:07 +0100
commit838c669055ddbbd04998ffc345a81f6fddbb9cfe (patch)
tree1115907b1d2155b6427a3cc01db333ab8d44dcd6 /src/shared
parentd6ef10fadfe757c8f0a5664097978b4f4d0f430e (diff)
parentae5e1b19e78ed85259868d12ca8042fd2e87d423 (diff)
Merge pull request #2158 from keszybz/journal-decompression
Journal decompression fixes
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/logs-show.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index 193dad1943..a1f65d1a88 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -435,8 +435,9 @@ static int output_verbose(
r = parse_field(data, length, "_SOURCE_REALTIME_TIMESTAMP=", &value, &size);
if (r < 0)
- log_debug_errno(r, "_SOURCE_REALTIME_TIMESTAMP invalid: %m");
+ return r;
else {
+ assert(r > 0);
r = safe_atou64(value, &realtime);
if (r < 0)
log_debug_errno(r, "Failed to parse realtime timestamp: %m");