summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-12-15 09:08:23 -0800
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-12-15 09:08:23 -0800
commita7e3edf4f252fb72afeb8ecca946a2d8294bb577 (patch)
tree25a36cd09e617c66451bd5787a46710284c11571 /nscd
parentd232f2e137127139addde487f0f01881b52cc446 (diff)
downloadglibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.tar.gz
glibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.tar.xz
glibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.zip
Increase buffer size due to warning from ToT GCC
	* nscd/dbg_log.c (dbg_log): Increase msg buffer size.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/dbg_log.c2
1 files changed, 1 insertions, 1 deletions
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)