summaryrefslogtreecommitdiff
path: root/src/misc/syslog.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-01-13 12:04:38 -0500
committerRich Felker <dalias@aerifal.cx>2015-01-13 12:04:38 -0500
commit3f65494a4cb2544eb16af3fa64a161bd8142f487 (patch)
treef03f25a018845a5611bf2880d17fab4cfcb87e4f /src/misc/syslog.c
parent84b5c5479e8eae48c81295b55f4fa8dd342c97a9 (diff)
downloadmusl-3f65494a4cb2544eb16af3fa64a161bd8142f487.tar.gz
increase syslog message limit from 256 to 1024
this addresses alpine linux issue #3692 and brings the syslog message length limit in alignment with uclibc's implementation.
Diffstat (limited to 'src/misc/syslog.c')
-rw-r--r--src/misc/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/syslog.c b/src/misc/syslog.c
index fbce4bcd..d5874991 100644
--- a/src/misc/syslog.c
+++ b/src/misc/syslog.c
@@ -81,7 +81,7 @@ static void _vsyslog(int priority, const char *message, va_list ap)
char timebuf[16];
time_t now;
struct tm tm;
- char buf[256];
+ char buf[1024];
int errno_save = errno;
int pid;
int l, l2;