increase syslog message limit from 256 to 1024
authorRich Felker <dalias@aerifal.cx>
Tue, 13 Jan 2015 17:04:38 +0000 (12:04 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 13 Jan 2015 17:04:38 +0000 (12:04 -0500)
this addresses alpine linux issue #3692 and brings the syslog message
length limit in alignment with uclibc's implementation.

src/misc/syslog.c

index fbce4bc..d587499 100644 (file)
@@ -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;