summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
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 /sys/boot/common
parent1b963c9bef63c0ae43fb288d5e827f88179e310e (diff)
downloadFreeBSD-src-c4ea3a2d247b92f795d2d410840c669ab6a56570.zip
FreeBSD-src-c4ea3a2d247b92f795d2d410840c669ab6a56570.tar.gz
Fixed a misspelling of 0 as NULL.
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/load_elf.c2
1 files changed, 1 insertions, 1 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:
OpenPOWER on IntegriCloud