From c28f9a2eae08e8b4a1fd1ca081906125b41460b8 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 23 Oct 2011 00:55:26 +0400 Subject: [PATCH] crtools: Use memzero_p Signed-off-by: Cyrill Gorcunov --- crtools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crtools.c b/crtools.c index 0cd878f5d..11e0e6027 100644 --- a/crtools.c +++ b/crtools.c @@ -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)) {