summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_misc.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-01-09 04:55:37 +0000
committergreen <green@FreeBSD.org>2001-01-09 04:55:37 +0000
commit1997349f06de397ba7ebc11e4723557df4c29ffa (patch)
treebbc575d3c276db88b68bc0cc13fedc9478303807 /sys/compat/svr4/svr4_misc.c
parent70c88bb8dad8043bc6de6c2381c0f3d55e803379 (diff)
downloadFreeBSD-src-1997349f06de397ba7ebc11e4723557df4c29ffa.zip
FreeBSD-src-1997349f06de397ba7ebc11e4723557df4c29ffa.tar.gz
Take 10 seconds to actually fix the chgproccnt rather than just make it
explicitly error. If the module is horribly broken, it should be temporarily removed from src/sys/modules.
Diffstat (limited to 'sys/compat/svr4/svr4_misc.c')
-rw-r--r--sys/compat/svr4/svr4_misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index c91f7ba..bc45271 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1273,8 +1273,7 @@ loop:
/*
* Decrement the count of procs running with this uid.
*/
-#error "FIXME"
- (void)chgproccnt(q->p_cred->p_ruid, -1, 0);
+ (void)chgproccnt(q->p_cred->p_uidinfo, -1, 0);
/*
* Free up credentials.
OpenPOWER on IntegriCloud