summaryrefslogtreecommitdiff
path: root/sys/kern/imgact_elf.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-11-05 01:59:56 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-11-05 01:59:56 +0000
commit450ffb44271dbe567126386a7517ad400926271d (patch)
treeae3d42ca3a43dfe5238a6503057532919bbbc2a3 /sys/kern/imgact_elf.c
parentf8d0815040816ac2b741e4974e151fe7712a4acf (diff)
Notes
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r--sys/kern/imgact_elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index 6f42df61b897..ff15a4657b25 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -514,7 +514,8 @@ __elfN(load_file)(struct proc *p, const char *file, u_long *addr,
* Initialize part of the common data
*/
imgp->proc = p;
- imgp->uap = NULL;
+ imgp->userspace_argv = NULL;
+ imgp->userspace_envv = NULL;
imgp->attr = attr;
imgp->firstpage = NULL;
imgp->image_header = (char *)kmem_alloc_wait(exec_map, PAGE_SIZE);