diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 20:09:21 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 20:09:21 +0000 |
commit | 0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch) | |
tree | cb68685742f9729aa9c70ebcdc86355253673b77 /sys/dev/en | |
parent | 5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff) | |
download | FreeBSD-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.c | 2 |
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) { |