diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-10 06:17:01 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-10 20:38:33 -0500 |
commit | e3bfb7be07d9b1f4ebb12eb22c4c8bcd2a988d51 (patch) | |
tree | 8aa9b6fb9388832a96ce0c37167198e88f26da4d /src/journal/journald-syslog.h | |
parent | 90d14d2015dda79c7b465b74dd3aaf2dfc25d43c (diff) |
journald: malloc less when streaming messages
Diffstat (limited to 'src/journal/journald-syslog.h')
-rw-r--r-- | src/journal/journald-syslog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-syslog.h b/src/journal/journald-syslog.h index 8ccdb77a09..057ea79def 100644 --- a/src/journal/journald-syslog.h +++ b/src/journal/journald-syslog.h @@ -25,7 +25,7 @@ int syslog_fixup_facility(int priority) _const_; -void syslog_parse_priority(char **p, int *priority, bool with_facility); +void syslog_parse_priority(const char **p, int *priority, bool with_facility); size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid); void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, struct ucred *ucred, struct timeval *tv); |