From f6c64174fec5893018339309148f53588c983cdd Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Sun, 24 Apr 2016 08:31:32 +0000 Subject: [PATCH] Correct types for g_example_start() and g_example_access(). PR: 203498 Submitted by: chadf@triularity.org, ae MFC after: 1 week Sponsored by: Essen Hackathon 2016 --- share/man/man9/g_geom.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/g_geom.9 b/share/man/man9/g_geom.9 index 2b4aac84ce93..3deb032a8bc2 100644 --- a/share/man/man9/g_geom.9 +++ b/share/man/man9/g_geom.9 @@ -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 geom. .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) {