aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-03-11 10:09:01 +0000
committerBruce Evans <bde@FreeBSD.org>2004-03-11 10:09:01 +0000
commit754df370258692ecca4e06773c44213c71d98596 (patch)
treeaecfe74a656af964ef2ac5be3bf84b0feb0bd538 /usr.bin
parent30e8350c6009ecdd17ccceec5a747629a7e7e9a6 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/doscmd/xms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/xms.c b/usr.bin/doscmd/xms.c
index 046b861d17cd..47ea427db94d 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");