Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: move to new pool_foreach macros
[vpp.git]
/
src
/
vlib
/
cli.c
diff --git
a/src/vlib/cli.c
b/src/vlib/cli.c
index
c6f71a5
..
db82ded
100644
(file)
--- a/
src/vlib/cli.c
+++ b/
src/vlib/cli.c
@@
-1077,11
+1077,11
@@
restart_cmd_fn (vlib_main_t * vm, unformat_input_t * input,
/* Close all known open files */
/* *INDENT-OFF* */
- pool_foreach
(f, fm->file_pool,
-
(
{
+ pool_foreach
(f, fm->file_pool)
+
{
if (f->file_descriptor > 2)
close(f->file_descriptor);
- }
));
+ }
/* *INDENT-ON* */
/* Exec ourself */