diff options
Diffstat (limited to 'net-mgmt/seafile/files/patch-lib_utils.c')
| -rw-r--r-- | net-mgmt/seafile/files/patch-lib_utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-mgmt/seafile/files/patch-lib_utils.c b/net-mgmt/seafile/files/patch-lib_utils.c index 4ae52bcbfccc..9e49a40516ab 100644 --- a/net-mgmt/seafile/files/patch-lib_utils.c +++ b/net-mgmt/seafile/files/patch-lib_utils.c @@ -87,11 +87,10 @@ + +#elif defined(__DragonFly__) +#define PSKIP(kp) ((kp)->kp_pid == mypid || \ -+ (!kthreads && ((kp)->kp_flags & P_KTHREADP) != 0)) ++ (!kthreads && ((kp)->kp_flags & P_SYSTEM) != 0)) +#define KVM_OPENFILES(exec, coref, buf) \ + kvm_openfiles(exec, coref, NULL, O_RDONLY, buf) -+#define KVM_GETPROCS(kd, plist, nproc) \ -+ kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc) ++#define KVM_GETPROCS(kd, plist, nproc) \+ kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc) + +#elif defined(__NetBSD__) +#define PSKIP(kp) ((kp)->kp_pid == mypid || \ |
