Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vpp
/
api
/
vpp_get_metrics.c
diff --git
a/src/vpp/api/vpp_get_metrics.c
b/src/vpp/api/vpp_get_metrics.c
index
3474133
..
9241e6d
100644
(file)
--- a/
src/vpp/api/vpp_get_metrics.c
+++ b/
src/vpp/api/vpp_get_metrics.c
@@
-69,7
+69,7
@@
setup_signal_handlers (void)
for (i = 1; i < 32; i++)
{
for (i = 1; i < 32; i++)
{
- memset (&sa, 0, sizeof (sa));
+
clib_
memset (&sa, 0, sizeof (sa));
sa.sa_sigaction = (void *) unix_signal_handler;
sa.sa_flags = SA_SIGINFO;
sa.sa_sigaction = (void *) unix_signal_handler;
sa.sa_flags = SA_SIGINFO;
@@
-177,7
+177,7
@@
main (int argc, char **argv)
setup_signal_handlers ();
setup_signal_handlers ();
- memset (ma, 0, sizeof (*ma));
+
clib_
memset (ma, 0, sizeof (*ma));
ma->root_path = chroot_path;
ma->uid = uid;
ma->gid = gid;
ma->root_path = chroot_path;
ma->uid = uid;
ma->gid = gid;