aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/en
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commitb4e36adf1cde894f213665ef59f7fc43ff38ab14 (patch)
treec302c32a19a0adb56e0d73dc2079827abdab2d51 /sys/dev/en
parentd7bcbf6358ae499747d447804bdd6c759f596a01 (diff)
downloadsrc-b4e36adf1cde894f213665ef59f7fc43ff38ab14.tar.gz
src-b4e36adf1cde894f213665ef59f7fc43ff38ab14.zip
Fix warnings preparing for -Wall -Wcast-qual
Also disable one usb module in LINT due to fatal compilation errors, temporary.
Notes
Notes: svn path=/head/; revision=43295
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index 44a465927ca4..e869f6436675 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -1274,7 +1274,7 @@ caddr_t data;
do {
struct ifnet *shadow;
- if (error = suser(curproc->p_ucred, &curproc->p_acflag))
+ if ((error = suser(curproc->p_ucred, &curproc->p_acflag)) != 0)
break;
if ((shadow = pvc_attach(ifp)) != NULL) {