*** empty log message ***

This commit is contained in:
Martin Baulig
1998-08-14 16:41:56 +00:00
parent baea8b9603
commit 486cc220c4
2 changed files with 4 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ __BEGIN_DECLS
#define GLIBTOP_KERN_PROC_UID 5
#define GLIBTOP_KERN_PROC_RUID 6
#define GLIBTOP_KERN_PROC_MASK 15
#define GLIBTOP_EXCLUDE_IDLE 0x1000
#define GLIBTOP_EXCLUDE_SYSTEM 0x2000
#define GLIBTOP_EXCLUDE_NOTTY 0x4000

View File

@@ -71,6 +71,8 @@ glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
glibtop_suid_enter (server);
which &= GLIBTOP_KERN_PROC_MASK;
/* Get the process data */
pinfo = kvm_getprocs (server->machine.kd, which, arg, &count);
if ((pinfo == NULL) || (count < 1))