diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-05-21 20:21:49 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-05-21 20:21:49 +0200 |
commit | 401cc72da8e59a1e49acafee69280f7ebaa52e74 (patch) | |
tree | 96a1bc04b6a0dd572f0371c6ffcb8c7447b1d352 | |
parent | fca1b90a0dd2800f8ec9e31ff0b942312b0b8bb0 (diff) |
journald: one more SYSLOG_IDENTIFIER length fix
-rw-r--r-- | src/journal/journald.c | 2 |
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; |