summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-04 18:48:25 +0000
committerphk <phk@FreeBSD.org>2003-05-04 18:48:25 +0000
commiteb7e0cd5d2da6929f882f01b1e783b01085ae8f2 (patch)
tree277f74d70adcbb858f3b82159af23ed1ffb60324 /sys/geom/geom_bsd.c
parent11fe408cd90c96d4d6c1e98383568afd36df52c7 (diff)
downloadFreeBSD-src-eb7e0cd5d2da6929f882f01b1e783b01085ae8f2.zip
FreeBSD-src-eb7e0cd5d2da6929f882f01b1e783b01085ae8f2.tar.gz
Remove debugging printfs which should not have been committed.
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r--sys/geom/geom_bsd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index c3579ab..b3be7c8 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -98,7 +98,6 @@ g_bsd_modify(struct g_geom *gp, u_char *label)
error = bsd_disklabel_le_dec(label, &dl, MAXPARTITIONS);
if (error) {
-printf("HERE %s %d\n", __FILE__, __LINE__);
return (error);
}
@@ -122,13 +121,11 @@ printf("HERE %s %d\n", __FILE__, __LINE__);
/* ... or a smaller sector size. */
if (dl.d_secsize < secsize) {
-printf("HERE %s %d\n", __FILE__, __LINE__);
return (EINVAL);
}
/* ... or a non-multiple sector size. */
if (dl.d_secsize % secsize != 0) {
-printf("HERE %s %d\n", __FILE__, __LINE__);
return (EINVAL);
}
OpenPOWER on IntegriCloud