diff options
author | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-12-15 09:08:23 -0800 |
---|---|---|
committer | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-12-15 09:08:23 -0800 |
commit | a7e3edf4f252fb72afeb8ecca946a2d8294bb577 (patch) | |
tree | 25a36cd09e617c66451bd5787a46710284c11571 /nscd/dbg_log.c | |
parent | d232f2e137127139addde487f0f01881b52cc446 (diff) | |
download | glibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.zip glibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.tar.gz glibc-a7e3edf4f252fb72afeb8ecca946a2d8294bb577.tar.bz2 |
Increase buffer size due to warning from ToT GCC
* nscd/dbg_log.c (dbg_log): Increase msg buffer size.
Diffstat (limited to 'nscd/dbg_log.c')
-rw-r--r-- | nscd/dbg_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c index d4b19ac..2190c16 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) |