Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2018 15:35:03 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337580 - head/sys/kern
Message-ID:  <201808101535.w7AFZ3gf047363@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808101535.w7AFZ3gf047363>