2
0
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:
Cyrill Gorcunov 2011-10-23 00:55:26 +04:00
parent 6c4798fd44
commit c28f9a2eae

View File

@ -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)) {