Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2003 19:27:35 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 24868 for review
Message-ID:  <200302090327.h193RZBG016371@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=24868

Change 24868 by jmallett@jmallett_dalek on 2003/02/08 19:27:24

	Fix call to g_slice_new to pass FX_NPARTS.

Affected files ...

.. //depot/projects/mips/sys/geom/geom_fx.c#4 edit

Differences ...

==== //depot/projects/mips/sys/geom/geom_fx.c#4 (text+ko) ====

@@ -199,7 +199,7 @@
 	if (flags == G_TF_NORMAL &&
 	    !strcmp(pp->geom->class->name, FX_CLASS_NAME))
 		return (NULL);
-	gp = g_slice_new(mp, 8, pp, &cp, &ms, sizeof *ms, g_fx_start);
+	gp = g_slice_new(mp, FX_NPARTS, pp, &cp, &ms, sizeof *ms, g_fx_start);
 	if (gp == NULL)
 		return (NULL);
 	gsp = gp->softc;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302090327.h193RZBG016371>