svn commit: r337580 - head/sys/kern

Kyle Evans kevans at FreeBSD.org
Fri Aug 10 15:35:03 UTC 2018


Author: kevans
Date: Fri Aug 10 15:35:02 2018
New Revision: 337580
URL: https://svnweb.freebsd.org/changeset/base/337580

Log:
  subr_prf: remove think-o that had returned to local patch
  
  Reported by:	cognet

Modified:
  head/sys/kern/subr_prf.c

Modified: head/sys/kern/subr_prf.c
==============================================================================
--- head/sys/kern/subr_prf.c	Fri Aug 10 15:29:06 2018	(r337579)
+++ head/sys/kern/subr_prf.c	Fri Aug 10 15:35:02 2018	(r337580)
@@ -1033,10 +1033,9 @@ void
 msgbufinit(void *ptr, int size)
 {
 	char *cp;
-	static struct msgbuf *oldp;
+	static struct msgbuf *oldp = NULL;
 	bool print_boot_tag;
 
-	oldp = NULL;
 	size -= sizeof(*msgbufp);
 	cp = (char *)ptr;
 	print_boot_tag = !msgbufmapped;


More information about the svn-src-head mailing list