From cf874b345d0f766fb64cf4737e1c85ccc78d2bee Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 19 Feb 2003 05:47:46 +0000 Subject: Back out M_* changes, per decision of the TRB. Approved by: trb --- sys/geom/bde/g_bde.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/geom/bde') diff --git a/sys/geom/bde/g_bde.c b/sys/geom/bde/g_bde.c index 8a39926..4d7f615 100644 --- a/sys/geom/bde/g_bde.c +++ b/sys/geom/bde/g_bde.c @@ -212,7 +212,7 @@ g_bde_config(struct g_configargs *ga) while (1) { sectorsize = cp->provider->sectorsize; mediasize = cp->provider->mediasize; - sc = g_malloc(sizeof(struct g_bde_softc), M_ZERO); + sc = g_malloc(sizeof(struct g_bde_softc), M_WAITOK | M_ZERO); gp->softc = sc; sc->geom = gp; sc->consumer = cp; -- cgit v1.1