diff options
author | phk <phk@FreeBSD.org> | 2003-05-04 18:48:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-04 18:48:25 +0000 |
commit | eb7e0cd5d2da6929f882f01b1e783b01085ae8f2 (patch) | |
tree | 277f74d70adcbb858f3b82159af23ed1ffb60324 | |
parent | 11fe408cd90c96d4d6c1e98383568afd36df52c7 (diff) | |
download | FreeBSD-src-eb7e0cd5d2da6929f882f01b1e783b01085ae8f2.zip FreeBSD-src-eb7e0cd5d2da6929f882f01b1e783b01085ae8f2.tar.gz |
Remove debugging printfs which should not have been committed.
-rw-r--r-- | sys/geom/geom_bsd.c | 3 | ||||
-rw-r--r-- | sys/geom/geom_bsd_enc.c | 4 |
2 files changed, 0 insertions, 7 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); } diff --git a/sys/geom/geom_bsd_enc.c b/sys/geom/geom_bsd_enc.c index a3a7fd9..c82ea6e 100644 --- a/sys/geom/geom_bsd_enc.c +++ b/sys/geom/geom_bsd_enc.c @@ -49,7 +49,6 @@ #include <sys/systm.h> #else #include <string.h> -#include <stdio.h> #endif void @@ -76,13 +75,11 @@ bsd_disklabel_le_dec(u_char *ptr, struct disklabel *d, int maxpart) d->d_magic2 = le32dec(ptr + 132); if (d->d_magic2 != DISKMAGIC) { -printf("HERE %s %d\n", __FILE__, __LINE__); return(EINVAL); } d->d_npartitions = le16dec(ptr + 138); if (d->d_npartitions > maxpart) { -printf("HERE %s %d\n", __FILE__, __LINE__); return(EINVAL); } @@ -91,7 +88,6 @@ printf("HERE %s %d\n", __FILE__, __LINE__); for (p = ptr; p < pe; p += 2) sum ^= le16dec(p); if (sum != 0) { -printf("HERE %s %d\n", __FILE__, __LINE__); return(EINVAL); } |