summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commit0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch)
treecb68685742f9729aa9c70ebcdc86355253673b77 /sys/dev/en
parent5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff)
downloadFreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.zip
FreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.tar.gz
Fix warnings preparing for -Wall -Wcast-qual
Also disable one usb module in LINT due to fatal compilation errors, temporary.
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 44a4659..e869f64 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) {
OpenPOWER on IntegriCloud