Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
svm: fix fifo tail/head/ooo logic for u32 wrap
[vpp.git]
/
src
/
svm
/
svmdbtool.c
diff --git
a/src/svm/svmdbtool.c
b/src/svm/svmdbtool.c
index
a0af15f
..
d50ca7b
100644
(file)
--- a/
src/svm/svmdbtool.c
+++ b/
src/svm/svmdbtool.c
@@
-55,7
+55,7
@@
map_arg_setup (char *chroot_path)
svmdbtool_main_t *sm = &svmdbtool_main;
svmdb_map_args_t *ma = &sm->map_args;
svmdbtool_main_t *sm = &svmdbtool_main;
svmdb_map_args_t *ma = &sm->map_args;
- memset (ma, 0, sizeof (*ma));
+
clib_
memset (ma, 0, sizeof (*ma));
ma->root_path = chroot_path;
ma->size = sm->size;
ma->uid = sm->uid;
ma->root_path = chroot_path;
ma->size = sm->size;
ma->uid = sm->uid;
@@
-269,7
+269,7
@@
test_reg (char *chroot_path, u8 * vbl)
ma = map_arg_setup (chroot_path);
ma = map_arg_setup (chroot_path);
- memset (&sa, 0, sizeof (sa));
+
clib_
memset (&sa, 0, sizeof (sa));
sa.sa_sigaction = sigaction_handler;
sa.sa_flags = SA_SIGINFO;
if (sigaction (SIGUSR2, &sa, 0) < 0)
sa.sa_sigaction = sigaction_handler;
sa.sa_flags = SA_SIGINFO;
if (sigaction (SIGUSR2, &sa, 0) < 0)
@@
-278,7
+278,7
@@
test_reg (char *chroot_path, u8 * vbl)
return;
}
return;
}
- memset (a, 0, sizeof (*a));
+
clib_
memset (a, 0, sizeof (*a));
c = svmdb_map (ma);
c = svmdb_map (ma);