[systemd-commits] src/journal
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Mar 11 07:10:54 PDT 2013
src/journal/journald-stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 41891700e02daf0cab9e86908c76ac6f411bbd57
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 11 15:10:29 2013 +0100
journald: allow priority of 999, too
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c
index 54a5b36..bdc2f49 100644
--- a/src/journal/journald-stream.c
+++ b/src/journal/journald-stream.c
@@ -175,7 +175,7 @@ static int stdout_stream_line(StdoutStream *s, char *p) {
case STDOUT_STREAM_PRIORITY:
r = safe_atoi(p, &s->priority);
- if (r < 0 || s->priority < 0 || s->priority >= 999) {
+ if (r < 0 || s->priority < 0 || s->priority > 999) {
log_warning("Failed to parse log priority line.");
return -EINVAL;
}
More information about the systemd-commits
mailing list