summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index d3823771c54..5fd3a29b887 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.39 2005/08/23 23:20:23 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.40 2006/05/07 23:57:23 marco Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -231,6 +231,13 @@ bio_inq(char *name)
return;
}
+ if (debug)
+ printf("bio_inq { %p, %s, %d, %d }\n",
+ bi.bi_cookie,
+ bi.bi_dev,
+ bi.bi_novol,
+ bi.bi_nodisk);
+
volheader = 0;
for (i = 0; i < bi.bi_novol; i++) {
memset(&bv, 0, sizeof(bv));