aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 02c288e17e38..1b034cac5797 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_resource.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_resource.c,v 1.31 1998/02/04 18:43:10 dg Exp $
+ * $Id: kern_resource.c,v 1.32 1998/02/09 06:09:24 eivind Exp $
*/
#include "opt_compat.h"
@@ -266,12 +266,15 @@ rtprio(curp, uap)
* due to a CPU-bound normal process). Fix me! XXX
*/
#if 0
- if (rtp.type == RTP_PRIO_REALTIME)
+ if (RTP_PRIO_IS_REALTIME(rtp.type))
#endif
if (rtp.type != RTP_PRIO_NORMAL)
return (EPERM);
}
switch (rtp.type) {
+#ifdef RTP_PRIO_FIFO
+ case RTP_PRIO_FIFO:
+#endif
case RTP_PRIO_REALTIME:
case RTP_PRIO_NORMAL:
case RTP_PRIO_IDLE: