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.
This commit is contained in:
green 2001-01-09 04:55:37 +00:00
parent 70c88bb8da
commit 1997349f06

View File

@ -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.