diff options
| author | Greg Lehey <grog@FreeBSD.org> | 1999-01-28 07:11:19 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 1999-01-28 07:11:19 +0000 |
| commit | 37794b1a304586ac433afef6e98749bb95865711 (patch) | |
| tree | 098205996463cc9d652b31e83bd94574a4c7444c /sys/dev | |
| parent | e8c219f8db9407fab2bdf22eabab2b5a16188cc2 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/vinum/vinumconfig.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c index 32e56b925056..7eb833c6bdcf 100644 --- a/sys/dev/vinum/vinumconfig.c +++ b/sys/dev/vinum/vinumconfig.c @@ -240,12 +240,12 @@ my_sd(int plexno, int sdno) } /* Check that this operation is being done in the kernel. - * longjmp out if not. op the name of the operation. */ + * longjmp out if not. op is the name of the operation. */ void checkkernel(char *op) { - if (vinum_conf.flags & VF_KERNELOP == 0) - throw_rude_remark(EPERM, "Can't perform '%s' from user space", op); + if ((vinum_conf.flags & VF_KERNELOP) == 0) + throw_rude_remark(EPERM, "Can't perform '%s' from user space", op); } /* Add plex to the volume if possible */ @@ -267,7 +267,7 @@ give_plex_to_volume(int volno, int plexno) "Too many plexes for volume %s", vol->name); else if ((vol->plexes > 0) /* we have other plexes */ - &&(vol->flags & VF_CONFIG_SETUPSTATE == 0)) /* and we're not setting up state */ + &&((vol->flags & VF_CONFIG_SETUPSTATE) == 0)) /* and we're not setting up state */ invalidate_subdisks(&PLEX[plexno], sd_stale); /* make the subdisks invalid */ vol->plex[vol->plexes] = plexno; /* this one */ vol->plexes++; /* add another plex */ |
