diff options
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>. */ |