summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/an/if_an.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 2cce3bd..dc85125 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;
OpenPOWER on IntegriCloud