diff options
-rw-r--r-- | lib/libc/gen/syslog_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog_r.c b/lib/libc/gen/syslog_r.c index 4f758fdd000..fa2a2c839f6 100644 --- a/lib/libc/gen/syslog_r.c +++ b/lib/libc/gen/syslog_r.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslog_r.c,v 1.7 2015/01/21 19:34:24 deraadt Exp $ */ +/* $OpenBSD: syslog_r.c,v 1.8 2015/09/09 10:50:59 bluhm Exp $ */ /* * Copyright (c) 1983, 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -89,7 +89,7 @@ __vsyslog_r(int pri, struct syslog_data *data, int cnt; char ch, *p, *t; int fd, saved_errno, error; -#define TBUF_LEN 2048 +#define TBUF_LEN (8192+1) #define FMT_LEN 1024 char *conp = NULL, *stdp = NULL, tbuf[TBUF_LEN], fmt_cpy[FMT_LEN]; int tbuf_left, fmt_left, prlen; |