diff --git a/sysdeps/openbsd/procargs.c b/sysdeps/openbsd/procargs.c index a0e04fb3..c686bd35 100644 --- a/sysdeps/openbsd/procargs.c +++ b/sysdeps/openbsd/procargs.c @@ -56,11 +56,8 @@ glibtop_get_proc_args_p (glibtop *server, glibtop_proc_args *buf, memset (buf, 0, sizeof (glibtop_proc_args)); - /* - * Don't bother with PIDs below 20, because everything below this - * number is highly likely to be a kernel thread. - */ - if (pid < 19) return NULL; + /* Ignore init */ + if (pid < 2) return NULL; glibtop_suid_enter (server);