summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-02 19:52:27 +0000
committerjkh <jkh@FreeBSD.org>1995-05-02 19:52:27 +0000
commit41c930394a001c8187e0c10c2f383e39134ab55d (patch)
treefcaa2b9af1a7bed98a9e2951c9b9553374d7d961 /lib
parent1f6da08da41f03d1025fef6f3dc176d0ead34dc5 (diff)
downloadFreeBSD-src-41c930394a001c8187e0c10c2f383e39134ab55d.zip
FreeBSD-src-41c930394a001c8187e0c10c2f383e39134ab55d.tar.gz
I need Open_Disk() to not spew on my screen. #ifdef out some diagnostic
printfs.
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/disk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index b9363a0..d94cfea 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.8 1995/04/30 11:04:13 phk Exp $
+ * $Id: disk.c,v 1.10 1995/05/01 04:05:25 phk Exp $
*
*/
@@ -65,11 +65,13 @@ Int_Open_Disk(char *name, u_long size)
return 0;
}
+#if 0
for(i=0;i<ds.dss_nslices;i++)
if(ds.dss_slices[i].ds_openmask)
printf(" open(%d)=0x%2x",
i,ds.dss_slices[i].ds_openmask);
printf("\n");
+#endif
if (!size)
size = ds.dss_slices[WHOLE_DISK_SLICE].ds_size;
OpenPOWER on IntegriCloud