[Midnightbsd-cvs] src [10036] trunk/sys/dev/vte/if_vte.c: sync vte(4) with freebsd
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun May 27 18:26:57 EDT 2018
Revision: 10036
http://svnweb.midnightbsd.org/src/?rev=10036
Author: laffer1
Date: 2018-05-27 18:26:56 -0400 (Sun, 27 May 2018)
Log Message:
-----------
sync vte(4) with freebsd
Modified Paths:
--------------
trunk/sys/dev/vte/if_vte.c
Modified: trunk/sys/dev/vte/if_vte.c
===================================================================
--- trunk/sys/dev/vte/if_vte.c 2018-05-27 22:26:13 UTC (rev 10035)
+++ trunk/sys/dev/vte/if_vte.c 2018-05-27 22:26:56 UTC (rev 10036)
@@ -426,7 +426,7 @@
/* 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. */
More information about the Midnightbsd-cvs
mailing list