diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 10:11:02 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 10:12:40 -0500 |
commit | 159a82f910c55d160769555d7d99c7e980ae7ec1 (patch) | |
tree | 0958605031b51848b03d7ab963ff84a5e6adfa22 /litmus | |
parent | 0a3467c214042630612607e8a747e86261777ba7 (diff) |
LITMUS^RT proc: fix wrong memset()
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/litmus_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/litmus_proc.c b/litmus/litmus_proc.c index 2ef1669eff17..e54834278cc2 100644 --- a/litmus/litmus_proc.c +++ b/litmus/litmus_proc.c | |||
@@ -569,5 +569,5 @@ void destroy_domain_proc_info(struct domain_proc_info* m) | |||
569 | free_cpumask_var(m->domain_to_cpus[i].mask); | 569 | free_cpumask_var(m->domain_to_cpus[i].mask); |
570 | kfree(m->cpu_to_domains); | 570 | kfree(m->cpu_to_domains); |
571 | kfree(m->domain_to_cpus); | 571 | kfree(m->domain_to_cpus); |
572 | memset(m, sizeof(*m), 0); | 572 | memset(m, 0, sizeof(*m)); |
573 | } | 573 | } |