Increase buffer size due to warning from ToT GCC
* nscd/dbg_log.c (dbg_log): Increase msg buffer size.
This commit is contained in:
parent
d232f2e137
commit
a7e3edf4f2
@ -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
|
||||
|
@ -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