From 6df456a4a23bb8190efb4b507cbe8833e0f5fba6 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 30 Oct 1995 21:22:47 +0000 Subject: (S_proc_getprocenv): Removed #ifdef notyet; fixed args to get_string_array. --- proc/info.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'proc') diff --git a/proc/info.c b/proc/info.c index d16d8230..56e462a6 100644 --- a/proc/info.c +++ b/proc/info.c @@ -290,16 +290,12 @@ S_proc_getprocenv (struct proc *callerp, char **buf, u_int *buflen) { -#ifdef notyet struct proc *p = pid_find (pid); if (!p) return ESRCH; - return get_string_array (p->p_task, p->p_envp, buflen, buf); -#else - return EOPNOTSUPP; -#endif + return get_string_array (p->p_task, p->p_envp, (vm_address_t *)buf, buflen); } /* Implement proc_getprocinfo as described in . */ -- cgit v1.2.3