$NetBSD: patch-ag,v 1.3 2004/04/02 12:13:57 jmmv Exp $ --- sysdeps/freebsd/procuid.c.orig Mon Nov 26 23:37:59 2001 +++ sysdeps/freebsd/procuid.c Sun Jan 19 23:26:08 2003 @@ -94,7 +94,11 @@ buf->tpgid = pinfo [0].kp_eproc.e_tpgid; buf->nice = pinfo [0].kp_proc.p_nice; +#if defined(__NetBSD__) && defined(SACTIVE) + buf->priority = 0; +#else buf->priority = pinfo [0].kp_proc.p_priority; +#endif /* Set the flags for the data we're about to return*/ buf->flags = _glibtop_sysdeps_proc_uid;