Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
crypto-native: replace aesni with aes
[vpp.git]
/
src
/
vppinfra
/
test_maplog.c
diff --git
a/src/vppinfra/test_maplog.c
b/src/vppinfra/test_maplog.c
index
7ae70c5
..
b51f7f5
100644
(file)
--- a/
src/vppinfra/test_maplog.c
+++ b/
src/vppinfra/test_maplog.c
@@
-79,7
+79,7
@@
test_maplog_main (unformat_input_t * input)
clib_warning ("unknown input '%U'", format_unformat_error, input);
}
clib_warning ("unknown input '%U'", format_unformat_error, input);
}
- memset (a, 0, sizeof (*a));
+
clib_
memset (a, 0, sizeof (*a));
a->mm = mm;
a->file_basename = "/tmp/maplog_test";
a->file_size_in_bytes = 4096;
a->mm = mm;
a->file_basename = "/tmp/maplog_test";
a->file_size_in_bytes = 4096;
@@
-107,7
+107,7
@@
test_maplog_main (unformat_input_t * input)
}
if (noclose)
}
if (noclose)
- memset (mm, 0, sizeof (*mm));
+
clib_
memset (mm, 0, sizeof (*mm));
else
clib_maplog_close (mm);
else
clib_maplog_close (mm);
@@
-123,6
+123,8
@@
main (int argc, char *argv[])
unformat_input_t i;
int ret;
unformat_input_t i;
int ret;
+ clib_mem_init (0, 64ULL << 20);
+
unformat_init_command_line (&i, argv);
ret = test_maplog_main (&i);
unformat_free (&i);
unformat_init_command_line (&i, argv);
ret = test_maplog_main (&i);
unformat_free (&i);