mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
crtools: Use memzero_p
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
6c4798fd44
commit
c28f9a2eae
@ -246,7 +246,7 @@ int main(int argc, char *argv[])
|
||||
if (argc < 3)
|
||||
goto usage;
|
||||
|
||||
memset(&zero_page_entry, 0, sizeof(zero_page_entry));
|
||||
memzero_p(&zero_page_entry);
|
||||
|
||||
for (opt = getopt_long(argc, argv, short_opts, long_opts, &idx); opt != -1;
|
||||
opt = getopt_long(argc, argv, short_opts, long_opts, &idx)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user