]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nscd/dbg_log.c
powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629]
[thirdparty/glibc.git] / nscd / dbg_log.c
index f42d18c7314b91d6e5ba73a547b1b992a3d83565..2369f39799dc9bc67c0ec28d17b2f53ef0b377a4 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 1998-2014 Free Software Foundation, Inc.
+/* Copyright (c) 1998-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published
@@ -13,7 +12,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
 
 #include <stdarg.h>
 #include <stdio.h>
@@ -67,7 +66,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)