diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-08-08 23:53:11 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-08-08 23:53:11 +0000 |
| commit | 3dd0dbfeb93db6bd7ff08f591170d4b1c5517c3a (patch) | |
| tree | 69f179c71628867bf2915b82934c9880bab6faba /sys/dev/an | |
| parent | 36875740ccc084794acbb22ee2863e82c883a406 (diff) | |
Notes
Diffstat (limited to 'sys/dev/an')
| -rw-r--r-- | sys/dev/an/if_an.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 2cce3bdcfc14..dc851259493e 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -975,7 +975,7 @@ static int an_ioctl(ifp, command, data) sc = ifp->if_softc; ifr = (struct ifreq *)data; - if(sc->an_gone) { + if (sc->an_gone) { error = ENODEV; goto out; } @@ -1037,8 +1037,8 @@ static int an_ioctl(ifp, command, data) error = copyout(&areq, ifr->ifr_data, sizeof(areq)); break; case SIOCSAIRONET: - if ((error = suser(p))) - goto out; + if ((error = suser(p))) + goto out; error = copyin(ifr->ifr_data, &areq, sizeof(areq)); if (error) break; |
