aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ethernet/ethernet_types_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ethernet/ethernet_types_api.c b/src/vnet/ethernet/ethernet_types_api.c
index d9e06012870..513b86e3b66 100644
--- a/src/vnet/ethernet/ethernet_types_api.c
+++ b/src/vnet/ethernet/ethernet_types_api.c
@@ -43,7 +43,7 @@ mac_address_encode (const mac_address_t * in, vl_api_mac_address_t * out)
extern u8 *
format_vl_api_mac_address (u8 * s, va_list * args)
{
- vl_api_mac_address_t *mac = va_arg (args, vl_api_mac_address_t *);
+ vl_api_mac_address_t *mac = va_arg (*args, vl_api_mac_address_t *);
return (format (s, "%U", format_mac_address, mac->bytes));
}