summaryrefslogtreecommitdiffstats
path: root/sys/dev/vte/if_vte.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vte/if_vte.c')
-rw-r--r--sys/dev/vte/if_vte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vte/if_vte.c b/sys/dev/vte/if_vte.c
index e10b988..d3eb06a 100644
--- a/sys/dev/vte/if_vte.c
+++ b/sys/dev/vte/if_vte.c
@@ -428,7 +428,7 @@ vte_attach(device_t dev)
/* Reset the ethernet controller. */
vte_reset(sc);
- if ((error = vte_dma_alloc(sc) != 0))
+ if ((error = vte_dma_alloc(sc)) != 0)
goto fail;
/* Create device sysctl node. */
OpenPOWER on IntegriCloud