diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nscd/dbg_log.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2017-12-15 Steve Ellcey <sellcey@cavium.com> + + * nscd/dbg_log.c (dbg_log): Increase msg buffer size. + 2017-12-15 Thomas Schwinge <thomas@codesourcery.com> * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c index d4b19acc0c..2190c16ce5 100644 --- a/nscd/dbg_log.c +++ b/nscd/dbg_log.c @@ -67,7 +67,7 @@ dbg_log (const char *fmt,...) char buf[256]; strftime (buf, sizeof (buf), "%c", &now); - char msg[512]; + char msg[1024]; snprintf (msg, sizeof (msg), "%s - %d: %s%s", buf, getpid (), msg2, msg2[strlen (msg2) - 1] == '\n' ? "" : "\n"); if (dbgout) |