mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-28 12:36:47 +00:00
dump: Use memzero_p
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
2dc583092c
commit
c475bccd53
1 changed files with 1 additions and 1 deletions
|
|
@ -997,7 +997,7 @@ static int finalize_core(pid_t pid, struct list_head *vma_area_list, struct cr_f
|
|||
}
|
||||
|
||||
/* Ending marker */
|
||||
memset(&ve, 0, sizeof(ve));
|
||||
memzero_p(&ve);
|
||||
write_ptr_safe(fd_core, &ve, err);
|
||||
|
||||
pr_info("OK (%li written)\n", num);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue