From 2ac98124c83463eedad0694c6baedd2e05efd90e Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 11 May 2007 18:45:41 +0000 Subject: [PATCH] no getuser() in 64-bit mode --- src/os/aix/aix_sigar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index b0df2d08..92316b3e 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -1212,6 +1212,10 @@ int sigar_proc_env_get(sigar_t *sigar, sigar_pid_t pid, int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid, sigar_proc_fd_t *procfd) { +#ifdef SIGAR_64BIT + /* XXX no getuser() in 64-bit mode */ + return SIGAR_ENOTIMPL; +#else int i; struct procsinfo pinfo; struct user uinfo; @@ -1234,6 +1238,7 @@ int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid, } return SIGAR_OK; +#endif } int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid,