diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-10-30 21:22:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-10-30 21:22:47 +0000 |
commit | 6df456a4a23bb8190efb4b507cbe8833e0f5fba6 (patch) | |
tree | 4717a878cec6cac0895da3b4aa18b8342a40e07f /proc | |
parent | d3d45d2902695b36bdfc8300d555a16850de2a46 (diff) |
(S_proc_getprocenv): Removed #ifdef notyet; fixed args to
get_string_array.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/info.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 <hurd/proc.defs>. */ |