Add missing ()

This commit is contained in:
Poul-Henning Kamp 2005-02-28 13:49:06 +00:00
parent 3a44a4c33e
commit 62da7a2d68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142791

View file

@ -1444,7 +1444,7 @@ fd_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct thread
return (0);
case FD_STYPE: /* set drive type */
if (!fflag & FWRITE)
if (!(fflag & FWRITE))
return (EPERM);
/*
* Allow setting drive type temporarily iff
@ -1467,7 +1467,7 @@ fd_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct thread
return (0);
case FD_SOPTS: /* set drive options */
if (!fflag & FWRITE)
if (!(fflag & FWRITE))
return (EPERM);
fd->options = *(int *)data;
return (0);
@ -1490,7 +1490,7 @@ fd_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct thread
return (0);
case FD_FORM:
if (!fflag & FWRITE)
if (!(fflag & FWRITE))
return (EPERM);
if (((struct fd_formb *)data)->format_version !=
FD_FORMAT_VERSION)