diff options
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index c60423228607..b04a42b0da9c 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -115,10 +115,13 @@ asmlinkage long sys_set_rt_task_param(pid_t pid, struct rt_task __user * param) | |||
115 | goto out_unlock; | 115 | goto out_unlock; |
116 | } | 116 | } |
117 | if (tp.budget_policy != NO_ENFORCEMENT && | 117 | if (tp.budget_policy != NO_ENFORCEMENT && |
118 | tp.budget_policy != QUANTUM_ENFORCEMENT) | 118 | tp.budget_policy != QUANTUM_ENFORCEMENT && |
119 | tp.budget_policy != PRECISE_ENFORCEMENT) | ||
119 | { | 120 | { |
120 | printk(KERN_INFO "litmus: real-time task %d rejected " | 121 | printk(KERN_INFO "litmus: real-time task %d rejected " |
121 | "because unsupported budget enforcement policy specified\n", pid); | 122 | "because unsupported budget enforcement policy " |
123 | "specified (%d)\n", | ||
124 | pid, tp.budget_policy); | ||
122 | goto out_unlock; | 125 | goto out_unlock; |
123 | } | 126 | } |
124 | 127 | ||