summaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_octeon/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dev_octeon/init.c')
-rw-r--r--src/plugins/dev_octeon/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dev_octeon/init.c b/src/plugins/dev_octeon/init.c
index 03a1d59f7cc..8c5ed95b062 100644
--- a/src/plugins/dev_octeon/init.c
+++ b/src/plugins/dev_octeon/init.c
@@ -114,7 +114,7 @@ oct_init_nix (vlib_main_t *vm, vnet_dev_t *dev)
if ((rrv = roc_nix_dev_init (cd->nix)))
return cnx_return_roc_err (dev, rrv, "roc_nix_dev_init");
- if (roc_nix_npc_mac_addr_get (cd->nix, mac_addr))
+ if ((rrv = roc_nix_npc_mac_addr_get (cd->nix, mac_addr)))
return cnx_return_roc_err (dev, rrv, "roc_nix_npc_mac_addr_get");
vnet_dev_port_add_args_t port_add_args = {