summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-05-21 20:21:49 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-05-21 20:21:49 +0200
commit401cc72da8e59a1e49acafee69280f7ebaa52e74 (patch)
tree96a1bc04b6a0dd572f0371c6ffcb8c7447b1d352 /src/journal/journald.c
parentfca1b90a0dd2800f8ec9e31ff0b942312b0b8bb0 (diff)
journald: one more SYSLOG_IDENTIFIER length fix
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 1093f3c9c8..9d45762e25 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1234,7 +1234,7 @@ static void process_native_message(
p[17] >= '0' && p[17] <= '9')
priority = (priority & LOG_PRIMASK) | (((p[16] - '0')*10 + (p[17] - '0')) << 3);
- else if (l >= 12 &&
+ else if (l >= 19 &&
memcmp(p, "SYSLOG_IDENTIFIER=", 18) == 0) {
char *t;