summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-05-30 22:31:52 +0000
committerdougb <dougb@FreeBSD.org>2009-05-30 22:31:52 +0000
commite2703a8f9f411f29eef2c523e34a0fa79916c631 (patch)
tree6e67ce3c0f3bfc3ba257b96be6eebbfeebf04cbe /sys/geom
parent3b9ffe972e86709c49f8bd774244f584709604a8 (diff)
downloadFreeBSD-src-e2703a8f9f411f29eef2c523e34a0fa79916c631.zip
FreeBSD-src-e2703a8f9f411f29eef2c523e34a0fa79916c631.tar.gz
Crank the debug level necessary to display the "Label foo is removed"
and "Label for provider ..." messages up from 0 to 1.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/label/g_label.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c
index 288489a..fe2798a 100644
--- a/sys/geom/label/g_label.c
+++ b/sys/geom/label/g_label.c
@@ -104,7 +104,7 @@ static void
g_label_orphan(struct g_consumer *cp)
{
- G_LABEL_DEBUG(0, "Label %s removed.",
+ G_LABEL_DEBUG(1, "Label %s removed.",
LIST_FIRST(&cp->geom->provider)->name);
g_slice_orphan(cp);
}
@@ -113,7 +113,7 @@ static void
g_label_spoiled(struct g_consumer *cp)
{
- G_LABEL_DEBUG(0, "Label %s removed.",
+ G_LABEL_DEBUG(1, "Label %s removed.",
LIST_FIRST(&cp->geom->provider)->name);
g_slice_spoiled(cp);
}
@@ -181,7 +181,7 @@ g_label_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
g_access(cp, -1, 0, 0);
g_slice_config(gp, 0, G_SLICE_CONFIG_SET, (off_t)0, mediasize,
pp->sectorsize, name);
- G_LABEL_DEBUG(0, "Label for provider %s is %s.", pp->name, name);
+ G_LABEL_DEBUG(1, "Label for provider %s is %s.", pp->name, name);
return (gp);
}
@@ -203,7 +203,7 @@ g_label_destroy(struct g_geom *gp, boolean_t force)
return (EBUSY);
}
} else {
- G_LABEL_DEBUG(0, "Label %s removed.",
+ G_LABEL_DEBUG(1, "Label %s removed.",
LIST_FIRST(&gp->provider)->name);
}
g_slice_spoiled(LIST_FIRST(&gp->consumer));
OpenPOWER on IntegriCloud