Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 18:17:09 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295863 - head/sys/i386/i386
Message-ID:  <201602211817.u1LIH9h4029667@repo.freebsd.org>

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



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