Fixed a misspelling of 0 as NULL.

This commit is contained in:
bde 2004-03-11 10:09:01 +00:00
parent 1b963c9bef
commit c4ea3a2d24
2 changed files with 2 additions and 2 deletions

View File

@ -492,7 +492,7 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off)
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:

View File

@ -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");