summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-03-14 05:48:04 +0000
committerbde <bde@FreeBSD.org>2004-03-14 05:48:04 +0000
commitfd86ab2df270dd11f1b4584514a2dfda1d0c6d86 (patch)
treecae2ab2b67de19543fea7cedfa4aa592841632c7
parent75ae0c9944de6e5985e4ab91e4f868c07be81a7d (diff)
downloadFreeBSD-src-fd86ab2df270dd11f1b4584514a2dfda1d0c6d86.zip
FreeBSD-src-fd86ab2df270dd11f1b4584514a2dfda1d0c6d86.tar.gz
Fixed misspellings of 0 as NULL.
-rw-r--r--sys/boot/i386/loader/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/loader/main.c b/sys/boot/i386/loader/main.c
index 77f1bc1..829d29a4 100644
--- a/sys/boot/i386/loader/main.c
+++ b/sys/boot/i386/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.
@@ -177,7 +177,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