summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-11-11 10:08:46 +0000
committerphk <phk@FreeBSD.org>2002-11-11 10:08:46 +0000
commit33be7592ccb3b2a934e075095252b8e09b1770e3 (patch)
treea6aadd33e47b2452faa88ef0dfc64aeabcbeaab1 /lib/libdisk
parent95d7a07a0c04e95a93807d0f4b8e8bd3ee6e0256 (diff)
downloadFreeBSD-src-33be7592ccb3b2a934e075095252b8e09b1770e3.zip
FreeBSD-src-33be7592ccb3b2a934e075095252b8e09b1770e3.tar.gz
Remove debugging printfs.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/disk.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 32b8409..d2dcafd 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -263,7 +263,6 @@ Int_Open_Disk(const char *name)
len /= s;
off += lo[l - 1];
lo[l] = off;
- printf("%s [%s] %jd %jd\n", t, n, (intmax_t)(off / s), (intmax_t) (len / s));
if (!strcmp(t, "SUN"))
i = Add_Chunk(d, off, len, n, part, 0, 0, 0);
else if (!strncmp(t, "MBR", 3)) {
@@ -305,21 +304,15 @@ Int_Open_Disk(const char *name)
i = Add_Chunk(d, off, len, n, ty, 0, 0, 0);
else
{ printf("BARF %d\n", __LINE__); exit(0); }
- printf("error = %d\n", i);
}
/* PLATFORM POLICY BEGIN ------------------------------------- */
/* We have a chance to do things on a blank disk here */
-printf("c %p\n", d->chunks);
-printf("c->p %p\n", d->chunks->part);
-printf("c->p->p %p\n", d->chunks->part->part);
if (platform == p_sparc64 && d->chunks->part->part == NULL) {
-printf("HERE %d\n", __LINE__);
hd = d->bios_hd;
sc = d->bios_sect;
o = d->chunks->size / (hd * sc);
o *= (hd * sc);
o -= 2 * hd * sc;
-printf("HERE %d\n", __LINE__);
if (Add_Chunk(d, 0, o, name, freebsd, 0, 0, "-"))
DPRINT(("Failed to add 'freebsd' chunk"));
}
OpenPOWER on IntegriCloud