s/procinfo/procsinfo/ so we can compile in 64 bit mode

This commit is contained in:
Doug MacEachern 2004-07-15 18:38:56 +00:00
parent 9a584f0469
commit 698be6dd32
1 changed files with 4 additions and 4 deletions

View File

@ -672,7 +672,7 @@ int sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid,
{ {
/* XXX if buffer is not large enough args are truncated */ /* XXX if buffer is not large enough args are truncated */
char buffer[8192], *ptr; char buffer[8192], *ptr;
struct procinfo pinfo; struct procsinfo pinfo;
pinfo.pi_pid = pid; pinfo.pi_pid = pid;
@ -706,7 +706,7 @@ int sigar_proc_env_get(sigar_t *sigar, sigar_pid_t pid,
{ {
/* XXX if buffer is not large enough args are truncated */ /* XXX if buffer is not large enough args are truncated */
char buffer[8192], *ptr; char buffer[8192], *ptr;
struct procinfo pinfo; struct procsinfo pinfo;
pinfo.pi_pid = pid; pinfo.pi_pid = pid;
@ -757,7 +757,7 @@ static int V5_sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
sigar_proc_fd_t *procfd) sigar_proc_fd_t *procfd)
{ {
int i; int i;
struct procinfo pinfo; struct procsinfo pinfo;
struct user_v5 uinfo; /* V5 */ struct user_v5 uinfo; /* V5 */
procfd->total = 0; procfd->total = 0;
@ -785,7 +785,7 @@ static int V4_sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
sigar_proc_fd_t *procfd) sigar_proc_fd_t *procfd)
{ {
int i; int i;
struct procinfo pinfo; struct procsinfo pinfo;
struct user uinfo; /* V4 */ struct user uinfo; /* V4 */
procfd->total = 0; procfd->total = 0;