From 26596a0fee3e25a17aaac051e95597a6bdae04ce Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 9 Feb 2005 07:29:45 +0000 Subject: [PATCH] freebsd proc_args --- src/os/darwin/darwin_sigar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index f10292a9..67592175 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -608,7 +608,11 @@ int sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid, int sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid, sigar_proc_args_t *procargs) { +#ifdef DARWIN return SIGAR_ENOTIMPL; +#else + return sigar_procfs_args_get(sigar, pid, procargs); +#endif } int sigar_proc_env_get(sigar_t *sigar, sigar_pid_t pid,