summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-01-14 11:42:19 +0000
committergrog <grog@FreeBSD.org>2001-01-14 11:42:19 +0000
commitffc1b6907f69a0ba44c97ce1d8d153adac60473d (patch)
treed47c9a6c6ea5249e4512d63ba48d572444d7f31f /sbin
parent836a7f875e533475f5df59d01e31bf95b978a9de (diff)
downloadFreeBSD-src-ffc1b6907f69a0ba44c97ce1d8d153adac60473d.zip
FreeBSD-src-ffc1b6907f69a0ba44c97ce1d8d153adac60473d.tar.gz
Remove references to lockinfo.plex.
Reported by: dougb
Diffstat (limited to 'sbin')
-rw-r--r--sbin/vinum/list.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/sbin/vinum/list.c b/sbin/vinum/list.c
index e901d68..041ec38 100644
--- a/sbin/vinum/list.c
+++ b/sbin/vinum/list.c
@@ -39,7 +39,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: list.c,v 1.23 2000/03/01 02:38:55 grog Exp grog $
+ * $Id: list.c,v 1.25 2000/12/20 03:38:43 grog Exp grog $
* $FreeBSD$
*/
@@ -999,26 +999,23 @@ vinum_info(int argc, char *argv[], char *argv0[])
break;
case loginfo_lockwait:
- printf("%s Lockwait %p\t%d\t 0x%x\n",
+ printf("%s Lockwait %p\t 0x%x\n",
timetext(&rq.timestamp),
rq.bp,
- rq.info.lockinfo.plexno,
rq.info.lockinfo.stripe);
break;
case loginfo_lock:
- printf("%s Lock %p\t%d\t 0x%x\n",
+ printf("%s Lock %p\t 0x%x\n",
timetext(&rq.timestamp),
rq.bp,
- rq.info.lockinfo.plexno,
rq.info.lockinfo.stripe);
break;
case loginfo_unlock:
- printf("%s Unlock\t %p\t%d\t 0x%x\n",
+ printf("%s Unlock\t %p\t 0x%x\n",
timetext(&rq.timestamp),
rq.bp,
- rq.info.lockinfo.plexno,
rq.info.lockinfo.stripe);
break;
}
@@ -1250,7 +1247,7 @@ vinum_dumpconfig(int argc, char *argv[], char *argv0[])
struct devstat *stat = &statinfo.dinfo->devices[i];
if (((stat->device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_DIRECT) /* disk device */
-&&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */
+ &&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */
&&((stat->device_name[0] != '\0'))) { /* and it has a name */
sprintf(enamelist, "/dev/%s%d", stat->device_name, stat->unit_number);
token[tokens] = enamelist; /* point to it */
@@ -1306,7 +1303,7 @@ dumpconfig(char *part)
}
for (partition = 'a'; partition < 'i'; partition++) {
if ((partition != 'c') /* it's not the c partition */
-&&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */
+ &&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */
||Verbose)) { /* or we're just plain curious */
sprintf(partid, "s%d%c", slice, partition);
found = check_drive(partname); /* try to open it */
@@ -1337,7 +1334,7 @@ dumpconfig(char *part)
}
for (partition = 'a'; partition < 'i'; partition++) { /* try the compatibility partition */
if ((partition != 'c') /* it's not the c partition */
-&&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */
+ &&((label.d_partitions[partition - 'a'].p_fstype == FS_VINUM) /* and it's a Vinum partition */
||Verbose)) { /* or we're just plain curious */
sprintf(partid, "%c", partition);
found = check_drive(partname); /* try to open it */
OpenPOWER on IntegriCloud