Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150496183
D3320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3320.diff
View Options
Index: sys/geom/uncompress/g_uncompress.c
===================================================================
--- sys/geom/uncompress/g_uncompress.c
+++ sys/geom/uncompress/g_uncompress.c
@@ -111,8 +111,8 @@
{
if (gp != NULL) {
- printf("%s: %d requests, %d cached\n",
- gp->name, sc->req_total, sc->req_cached);
+ DPRINTF(("%s: %d requests, %d cached\n",
+ gp->name, sc->req_total, sc->req_cached));
}
if (sc->offsets != NULL) {
free(sc->offsets, M_GEOM_UNCOMPRESS);
@@ -518,7 +518,7 @@
DPRINTF(("%s: image version too old\n", gp->name));
goto err;
}
- printf("%s: GEOM_ULZMA image found\n", gp->name);
+ DPRINTF(("%s: GEOM_ULZMA image found\n", gp->name));
break;
case 'V':
type = GEOM_UZIP;
@@ -526,7 +526,7 @@
DPRINTF(("%s: image version too old\n", gp->name));
goto err;
}
- printf("%s: GEOM_UZIP image found\n", gp->name);
+ DPRINTF(("%s: GEOM_UZIP image found\n", gp->name));
break;
default:
DPRINTF(("%s: unsupported image type\n", gp->name));
@@ -622,7 +622,7 @@
gp->name,
pp2->sectorsize, (intmax_t)pp2->mediasize,
pp2->stripeoffset, pp2->stripesize, pp2->flags));
- printf("%s: %u x %u blocks\n", gp->name, sc->nblocks, sc->blksz);
+ DPRINTF(("%s: %u x %u blocks\n", gp->name, sc->nblocks, sc->blksz));
return (gp);
err:
@@ -651,7 +651,7 @@
g_topology_assert();
if (gp->softc == NULL) {
- printf("%s(%s): gp->softc == NULL\n", __func__, gp->name);
+ DPRINTF(("%s(%s): gp->softc == NULL\n", __func__, gp->name));
return (ENXIO);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 5:29 PM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30731540
Default Alt Text
D3320.diff (1 KB)
Attached To
Mode
D3320: Make some geom_uncompress debug printf's into DPRINTF's to reduce noise on attach/detach
Attached
Detach File
Event Timeline
Log In to Comment