mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Increase buffer size due to warning from ToT GCC
* nscd/dbg_log.c (dbg_log): Increase msg buffer size. (cherry picked from commit a7e3edf4f252fb72afeb8ecca946a2d8294bb577)
This commit is contained in:
parent
636f49ba92
commit
3fb525c103
@ -1,3 +1,7 @@
|
||||
2017-12-15 Steve Ellcey <sellcey@cavium.com>
|
||||
|
||||
* nscd/dbg_log.c (dbg_log): Increase msg buffer size.
|
||||
|
||||
2017-11-22 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #22463]
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user