Fixed a misspelling of 0 as NULL.
This commit is contained in:
parent
1b963c9bef
commit
c4ea3a2d24
@ -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:
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user