summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-03-14 09:43:15 +0000
committernyan <nyan@FreeBSD.org>2004-03-14 09:43:15 +0000
commit557a78cc43a1862d88671b6b56f4b28d851e158e (patch)
tree0f92782634e887a39320baa44fc8faefe7e44b6d
parent7027b3a093cddf7b4d096a2e9fbda39c5fe5af2a (diff)
downloadFreeBSD-src-557a78cc43a1862d88671b6b56f4b28d851e158e.zip
FreeBSD-src-557a78cc43a1862d88671b6b56f4b28d851e158e.tar.gz
MFi386: revision 1.29.
-rw-r--r--sys/boot/pc98/loader/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/pc98/loader/main.c b/sys/boot/pc98/loader/main.c
index 7b26b0f..522908b 100644
--- a/sys/boot/pc98/loader/main.c
+++ b/sys/boot/pc98/loader/main.c
@@ -112,7 +112,7 @@ main(void)
/*
* Special handling for PXE and CD booting.
*/
- if (kargs->bootinfo == NULL) {
+ if (kargs->bootinfo == 0) {
/*
* We only want the PXE disk to try to init itself in the below
* walk through devsw if we actually booted off of PXE.
@@ -173,7 +173,7 @@ extract_currdev(void)
new_currdev.d_dev = &biosdisk;
/* new-style boot loaders such as pxeldr and cdldr */
- if (kargs->bootinfo == NULL) {
+ if (kargs->bootinfo == 0) {
if ((kargs->bootflags & KARGS_FLAGS_CD) != 0) {
/* we are booting from a CD with cdboot */
new_currdev.d_dev = &bioscd;
OpenPOWER on IntegriCloud