diff options
author | archie <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
commit | 7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch) | |
tree | 2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/compat/pecoff | |
parent | 7995682a2f9ee27c40a0794821e01853508b55c3 (diff) | |
download | FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz |
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/compat/pecoff')
-rw-r--r-- | sys/compat/pecoff/imgact_pecoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/pecoff/imgact_pecoff.c b/sys/compat/pecoff/imgact_pecoff.c index 66d0d7f..da9a76a 100644 --- a/sys/compat/pecoff/imgact_pecoff.c +++ b/sys/compat/pecoff/imgact_pecoff.c @@ -148,7 +148,7 @@ pecoff_fixup(register_t ** stack_base, struct image_params * imgp) pos = *stack_base + (imgp->argc + imgp->envc + 2); ap = (struct pecoff_imghdr *) imgp->auxargs; if (copyout(ap, pos, len)) { - return NULL; + return 0; } free(ap, M_TEMP); imgp->auxargs = NULL; |