From bfc29ba442dbb65599f29fe5aa44c6219ed0d3a8 Mon Sep 17 00:00:00 2001 From: Gabriel Ganne Date: Mon, 6 Nov 2017 16:52:24 +0100 Subject: fix bfd cli with gcc >= 6 Change-Id: Iff63238bcf87db3411493e95064c5ad3ed8fd166 Signed-off-by: Gabriel Ganne --- src/vnet/bfd/bfd_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet') diff --git a/src/vnet/bfd/bfd_cli.c b/src/vnet/bfd/bfd_cli.c index b2cd8df2eea..a533bb74ea5 100644 --- a/src/vnet/bfd/bfd_cli.c +++ b/src/vnet/bfd/bfd_cli.c @@ -397,8 +397,8 @@ static const unsigned optional = 0; #define CHECK_MANDATORY(t, n, s, r, ...) \ PRAGMA_STR1 \ if (mandatory == r && !have_##n) \ - PRAGMA_STR2 \ { \ + PRAGMA_STR2 \ ret = clib_error_return (0, "Required parameter `%s' missing.", s); \ goto out; \ } -- cgit 1.2.3-korg