Author: brueffer Date: Sun Apr 24 08:31:32 2016 New Revision: 298532 URL: https://svnweb.freebsd.org/changeset/base/298532
Log: Correct types for g_example_start() and g_example_access(). PR: 203498 Submitted by: ch...@triularity.org, ae MFC after: 1 week Sponsored by: Essen Hackathon 2016 Modified: head/share/man/man9/g_geom.9 Modified: head/share/man/man9/g_geom.9 ============================================================================== --- head/share/man/man9/g_geom.9 Sun Apr 24 04:28:04 2016 (r298531) +++ head/share/man/man9/g_geom.9 Sun Apr 24 08:31:32 2016 (r298532) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 16, 2004 +.Dd April 24, 2016 .Dt G_GEOM 9 .Os .Sh NAME @@ -123,7 +123,7 @@ returns a pointer to the newly created g .Sh EXAMPLES Create an example geom. .Bd -literal -offset indent -static struct geom * +static void g_example_start(struct bio *bp) { @@ -148,7 +148,7 @@ g_example_spoiled(struct g_consumer *cp) [...] } -static void +static int g_example_access(struct g_provider *pp, int dr, int dw, int de) { _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"