From: Michal Schmidt Date: Mon, 21 May 2012 18:21:49 +0000 (+0200) Subject: journald: one more SYSLOG_IDENTIFIER length fix X-Git-Tag: v183~57 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401cc72da8e59a1e49acafee69280f7ebaa52e74;p=systemd journald: one more SYSLOG_IDENTIFIER length fix --- diff --git a/src/journal/journald.c b/src/journal/journald.c index 1093f3c9..9d45762e 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;