svn commit: r295863 - head/sys/i386/i386

Ian Lepore ian at FreeBSD.org
Sun Feb 21 18:17:10 UTC 2016


Author: ian
Date: Sun Feb 21 18:17:09 2016
New Revision: 295863
URL: https://svnweb.freebsd.org/changeset/base/295863

Log:
  Minor style cleanups.
  
  Submitted by:		bde

Modified:
  head/sys/i386/i386/machdep.c

Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c	Sun Feb 21 16:48:37 2016	(r295862)
+++ head/sys/i386/i386/machdep.c	Sun Feb 21 18:17:09 2016	(r295863)
@@ -2463,8 +2463,8 @@ init386(first)
 		metadata_missing = 1;
 	}
 
-	if (bootinfo.bi_envp)
-		init_static_kenv((caddr_t)bootinfo.bi_envp + KERNBASE, 0);
+	if (bootinfo.bi_envp != 0)
+		init_static_kenv((char *)bootinfo.bi_envp + KERNBASE, 0);
 	else
 		init_static_kenv(NULL, 0);
 


More information about the svn-src-head mailing list