From 37794b1a304586ac433afef6e98749bb95865711 Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Thu, 28 Jan 1999 07:11:19 +0000 Subject: Retrofit revision 1.9 --- sys/dev/vinum/vinumconfig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') 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 */ -- cgit v1.3