summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
commit7ea07dcddafe573c699fc48171b57b912897e7e2 (patch)
tree35f8fb250e06a24b2c55b42359b001bd8a2ee9d9 /src/journal/journald.c
parent64695e53a0f425b831ba90d467f0e7a668c1b33c (diff)
fix a couple of things found with the llvm static analyzer
Diffstat (limited to 'src/journal/journald.c')
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 2e2d30f8e8..97d2ec05c7 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1148,7 +1148,7 @@ static void process_native_message(
char *identifier = NULL, *message = NULL;
assert(s);
- assert(buffer || n == 0);
+ assert(buffer || buffer_size == 0);
p = buffer;
remaining = buffer_size;