aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
Diffstat (limited to 'litmus')
-rw-r--r--litmus/litmus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 2dea340aea1d..d31a2ba030e4 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -285,7 +285,7 @@ static void reinit_litmus_state(struct task_struct* p, int restore)
285// __setscheduler(p, p->rt_param.old_policy, p->rt_param.old_prio); 285// __setscheduler(p, p->rt_param.old_policy, p->rt_param.old_prio);
286 286
287 /* Cleanup everything else. */ 287 /* Cleanup everything else. */
288 memset(&p->rt_param, 0, sizeof(user_config)); 288 memset(&p->rt_param, 0, sizeof(p->rt_param));
289 289
290 /* Restore preserved fields. */ 290 /* Restore preserved fields. */
291 if (restore) { 291 if (restore) {