Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/syslogd make the buffer fit any 32 bit number.



details:   https://anonhg.NetBSD.org/src/rev/b704e6737bcb
branches:  trunk
changeset: 1016035:b704e6737bcb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 07 17:46:56 2020 +0000

description:
make the buffer fit any 32 bit number.

diffstat:

 usr.sbin/syslogd/syslogd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 22268dff0a53 -r b704e6737bcb usr.sbin/syslogd/syslogd.c
--- a/usr.sbin/syslogd/syslogd.c        Sat Nov 07 16:16:33 2020 +0000
+++ b/usr.sbin/syslogd/syslogd.c        Sat Nov 07 17:46:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syslogd.c,v 1.134 2020/11/07 16:16:33 christos Exp $   */
+/*     $NetBSD: syslogd.c,v 1.135 2020/11/07 17:46:56 christos Exp $   */
 
 /*
  * Copyright (c) 1983, 1988, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)syslogd.c  8.3 (Berkeley) 4/4/94";
 #else
-__RCSID("$NetBSD: syslogd.c,v 1.134 2020/11/07 16:16:33 christos Exp $");
+__RCSID("$NetBSD: syslogd.c,v 1.135 2020/11/07 17:46:56 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -207,7 +207,7 @@
                                 */
 char   appname[]   = "syslogd";/* the APPNAME for own messages */
 char   *include_pid;           /* include PID in own messages */
-char   include_pid_buf[6];
+char   include_pid_buf[11];
 
 
 /* init and setup */



Home | Main Index | Thread Index | Old Index