diff options
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journald.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c index a6f27f6ef4..1093f3c9c8 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -1235,10 +1235,10 @@ static void process_native_message( priority = (priority & LOG_PRIMASK) | (((p[16] - '0')*10 + (p[17] - '0')) << 3); else if (l >= 12 && - memcmp(p, "SYSLOG_IDENTIFIER=", 11) == 0) { + memcmp(p, "SYSLOG_IDENTIFIER=", 18) == 0) { char *t; - t = strndup(p + 11, l - 11); + t = strndup(p + 18, l - 18); if (t) { free(identifier); identifier = t; |