aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
commit4a6a94d8d803018858d728dad780253f98583be0 (patch)
tree2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/compat
parentb87a69181edd9027bb62760f7ba1b564ba5451aa (diff)
downloadsrc-4a6a94d8d803018858d728dad780253f98583be0.tar.gz
src-4a6a94d8d803018858d728dad780253f98583be0.zip
Replace (ab)uses of "NULL" where "0" is really meant.
Notes
Notes: svn path=/head/; revision=102291
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/pecoff/imgact_pecoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/pecoff/imgact_pecoff.c b/sys/compat/pecoff/imgact_pecoff.c
index 66d0d7f38d80..da9a76a1dbed 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;