summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_table.c
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-10-24 12:14:09 -0700
committerNeale Ranns <nranns@cisco.com>2018-10-25 14:30:49 +0000
commit0c0383df88836b5e072f63c3b3a8f5f6b24c094b (patch)
treecbe6f73e3de450b279d4c7b956771477e0570ff1 /src/vnet/fib/fib_table.c
parent2bfb9e15d8ed7d040de7e453d764a6eb79668f5f (diff)
Trivial: Cleanup missing va_ends.
Change-Id: Ie7827b6a31968a355687d27325c0f30cab1bc890 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/fib/fib_table.c')
-rw-r--r--src/vnet/fib/fib_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_table.c b/src/vnet/fib/fib_table.c
index 69746d96912..f46a5b42183 100644
--- a/src/vnet/fib/fib_table.c
+++ b/src/vnet/fib/fib_table.c
@@ -1148,7 +1148,6 @@ fib_table_create_and_lock (fib_protocol_t proto,
fib_node_index_t fi;
va_list ap;
- va_start(ap, fmt);
switch (proto)
{
@@ -1167,6 +1166,8 @@ fib_table_create_and_lock (fib_protocol_t proto,
fib_table = fib_table_get(fi, proto);
+ va_start(ap, fmt);
+
fib_table->ft_desc = va_format(fib_table->ft_desc, fmt, &ap);
va_end(ap);