Apply patch by the_h1ghlander@yahoo.com and Cory Omand
2003-10-20 Bastien Nocera <hadess@hadess.net> * include/glibtop/cpu.h: * include/glibtop/procstate.h: * include/glibtop/procuid.h: * include/glibtop/uptime.h: * lib/sysdeps.c: * sysdeps/names/cpu.c: * sysdeps/names/procstate.c: * sysdeps/names/procuid.c: * sysdeps/names/uptime.c: Apply patch by the_h1ghlander@yahoo.com and Cory Omand <cory.omand@Sun.com> for Solaris support
This commit is contained in:
committed by
Bastien Nocera
parent
a50e5fdc9a
commit
07d991f383
@@ -60,9 +60,11 @@ glibtop_get_shm_limits_p (glibtop *server, glibtop_shm_limits *buf)
|
||||
if(kvm_read(kd, nlst[0].n_value, (void *)&sinfo,
|
||||
sizeof(struct shminfo)) != sizeof(struct shminfo))
|
||||
return;
|
||||
buf->shmmax = sinfo.shmmax;
|
||||
buf->shmmin = sinfo.shmmin;
|
||||
buf->shmmax = sinfo.shmmax;
|
||||
buf->shmmni = sinfo.shmmni;
|
||||
#if GLIBTOP_SOLARIS_RELEASE < 590
|
||||
buf->shmmin = sinfo.shmmin;
|
||||
buf->shmseg = sinfo.shmseg;
|
||||
#endif
|
||||
buf->flags = _glibtop_sysdeps_shm_limits;
|
||||
}
|
||||
|
Reference in New Issue
Block a user