Solaris 2.5 & 2.5.1 portability fixes, based on patches from Steve Murphy
* glibtop_machine.h, open.c, procargs.c, proclist.c, procmap.c: Solaris 2.5 & 2.5.1 portability fixes, based on patches from Steve Murphy <murf@e-tools.com>.
This commit is contained in:
@@ -43,7 +43,11 @@ char *
|
||||
glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
|
||||
pid_t pid, unsigned max_len)
|
||||
{
|
||||
#ifdef HAVE_PROCFS_H
|
||||
struct psinfo pinfo;
|
||||
#else
|
||||
struct prpsinfo pinfo;
|
||||
#endif
|
||||
int len, i;
|
||||
char *ret, *p;
|
||||
|
||||
|
Reference in New Issue
Block a user