Style fix.

Submitted by:	bz
This commit is contained in:
hrs 2009-06-09 08:09:30 +00:00
parent ee44c932b2
commit 998ac729b4

View File

@ -912,13 +912,13 @@ gif_ioctl(ifp, cmd, data)
case GIFSOPTS:
if ((error = priv_check(curthread, PRIV_NET_GIF)) != 0)
break;
if (!(error = copyin(ifr->ifr_data, &options,
sizeof(options)))) {
if ((options | GIF_OPTMASK) == GIF_OPTMASK)
sc->gif_options = options;
else
error = EINVAL;
}
error = copyin(ifr->ifr_data, &options, sizeof(options));
if (error)
break;
if (options & ~GIF_OPTMASK)
error = EINVAL;
else
sc->gif_options = options;
break;
default: