summaryrefslogtreecommitdiffstats
path: root/src/vnet/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/map/map.c')
-rw-r--r--src/vnet/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/map/map.c b/src/vnet/map/map.c
index 0c8cd6cd490..862f7cf5612 100644
--- a/src/vnet/map/map.c
+++ b/src/vnet/map/map.c
@@ -317,9 +317,9 @@ map_pre_resolve_init (map_main_pre_resolved_t * pr)
}
static u8 *
-format_map_pre_resolve (u8 * s, va_list ap)
+format_map_pre_resolve (u8 * s, va_list * ap)
{
- map_main_pre_resolved_t *pr = va_arg (ap, map_main_pre_resolved_t *);
+ map_main_pre_resolved_t *pr = va_arg (*ap, map_main_pre_resolved_t *);
if (FIB_NODE_INDEX_INVALID != pr->fei)
{