summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-03-11 10:09:01 +0000
committerbde <bde@FreeBSD.org>2004-03-11 10:09:01 +0000
commitc4ea3a2d247b92f795d2d410840c669ab6a56570 (patch)
treeaecfe74a656af964ef2ac5be3bf84b0feb0bd538
parent1b963c9bef63c0ae43fb288d5e827f88179e310e (diff)
downloadFreeBSD-src-c4ea3a2d247b92f795d2d410840c669ab6a56570.zip
FreeBSD-src-c4ea3a2d247b92f795d2d410840c669ab6a56570.tar.gz
Fixed a misspelling of 0 as NULL.
-rw-r--r--sys/boot/common/load_elf.c2
-rw-r--r--usr.bin/doscmd/xms.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c
index 06c6897..dd163a8 100644
--- a/sys/boot/common/load_elf.c
+++ b/sys/boot/common/load_elf.c
@@ -492,7 +492,7 @@ nosyms:
ef->strsz = 0;
for (i = 0; i < ndp; i++) {
- if (dp[i].d_tag == NULL)
+ if (dp[i].d_tag == 0)
break;
switch (dp[i].d_tag) {
case DT_HASH:
diff --git a/usr.bin/doscmd/xms.c b/usr.bin/doscmd/xms.c
index 046b861..47ea427 100644
--- a/usr.bin/doscmd/xms.c
+++ b/usr.bin/doscmd/xms.c
@@ -788,7 +788,7 @@ xms_entry(regcontext_t *REGS)
if (eptr->dst_handle != 0) {
dstptr = xms_hand[dstidx].addr;
- if (dstptr == NULL || dstptr == XMS_NULL_ALLOC) {
+ if (dstptr == 0 || dstptr == XMS_NULL_ALLOC) {
R_AX = 0x0;
R_BL = XMS_INVALID_DESTINATION_HANDLE;
debug(D_XMS, " Invalid dest handle\n");
OpenPOWER on IntegriCloud