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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to