1c54289746
installing of the backend daemon as kmem, but I don't want to make it the default, since almost all operations work without it.
16 lines
429 B
Text
16 lines
429 B
Text
$NetBSD: patch-aj,v 1.1 2006/02/28 23:48:12 joerg Exp $
|
|
|
|
--- sysdeps/freebsd/proclist.c.orig 2004-09-23 22:44:19.000000000 +0000
|
|
+++ sysdeps/freebsd/proclist.c
|
|
@@ -92,7 +92,11 @@ glibtop_get_proclist_p (glibtop *server,
|
|
|
|
#else
|
|
#define PROC_STAT kp_proc.p_stat
|
|
+#ifdef __DragonFly__
|
|
+#define PROC_RUID kp_eproc.e_ucred.cr_ruid
|
|
+#else
|
|
#define PROC_RUID kp_eproc.e_pcred.p_ruid
|
|
+#endif
|
|
#define PROC_PID kp_proc.p_pid
|
|
|
|
#endif
|