diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-13 12:04:38 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-13 12:04:38 -0500 |
commit | 3f65494a4cb2544eb16af3fa64a161bd8142f487 (patch) | |
tree | f03f25a018845a5611bf2880d17fab4cfcb87e4f /src/misc | |
parent | 84b5c5479e8eae48c81295b55f4fa8dd342c97a9 (diff) | |
download | musl-3f65494a4cb2544eb16af3fa64a161bd8142f487.tar.gz musl-3f65494a4cb2544eb16af3fa64a161bd8142f487.tar.bz2 musl-3f65494a4cb2544eb16af3fa64a161bd8142f487.tar.xz musl-3f65494a4cb2544eb16af3fa64a161bd8142f487.zip |
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')
-rw-r--r-- | src/misc/syslog.c | 2 |
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; |