Commit c475bccd authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

dump: Use memzero_p

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 2dc58309
...@@ -997,7 +997,7 @@ static int finalize_core(pid_t pid, struct list_head *vma_area_list, struct cr_f ...@@ -997,7 +997,7 @@ static int finalize_core(pid_t pid, struct list_head *vma_area_list, struct cr_f
} }
/* Ending marker */ /* Ending marker */
memset(&ve, 0, sizeof(ve)); memzero_p(&ve);
write_ptr_safe(fd_core, &ve, err); write_ptr_safe(fd_core, &ve, err);
pr_info("OK (%li written)\n", num); pr_info("OK (%li written)\n", num);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment