[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-commits-all
Subject: svn commit: r309216 - head/usr.sbin/syslogd
From: Baptiste Daroussin <bapt () FreeBSD ! org>
Date: 2016-11-27 19:27:13
Message-ID: 201611271927.uARJRDYA049729 () repo ! freebsd ! org
[Download RAW message or body]
Author: bapt
Date: Sun Nov 27 19:27:13 2016
New Revision: 309216
URL: https://svnweb.freebsd.org/changeset/base/309216
Log:
Properly initialize nextp
MFC after: 1 day
Modified:
head/usr.sbin/syslogd/syslogd.c
Modified: head/usr.sbin/syslogd/syslogd.c
==============================================================================
--- head/usr.sbin/syslogd/syslogd.c Sun Nov 27 18:34:29 2016 (r309215)
+++ head/usr.sbin/syslogd/syslogd.c Sun Nov 27 19:27:13 2016 (r309216)
@@ -1835,7 +1835,7 @@ init(int signo)
free((char *)f);
}
Files = NULL;
- *nextp = NULL;
+ nextp = &Files;
/* open the configuration file */
if ((cf = fopen(ConfFile, "r")) == NULL) {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic