diff options
author | ian <ian@FreeBSD.org> | 2016-02-21 18:17:09 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2016-02-21 18:17:09 +0000 |
commit | 4543e2c4ad52ae45c4b3cc6aa0f87c0684131b92 (patch) | |
tree | ab5ca0d7b2517a18ccf8b30afcbb1a3f6b14c1b9 | |
parent | 7ac5bf14ff211d70f6a8b3b484b0490416424090 (diff) | |
download | FreeBSD-src-4543e2c4ad52ae45c4b3cc6aa0f87c0684131b92.zip FreeBSD-src-4543e2c4ad52ae45c4b3cc6aa0f87c0684131b92.tar.gz |
Minor style cleanups.
Submitted by: bde
-rw-r--r-- | sys/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 15bc75c..529112d 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -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); |