Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Oct 2015 03:08:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 203498] Example in g_geom(9) man page returns wrong type
Message-ID:  <bug-203498-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203498

            Bug ID: 203498
           Summary: Example in g_geom(9) man page returns wrong type
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc@FreeBSD.org
          Reporter: chadf@triularity.org

Created attachment 161638
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161638&action=edit
Patch to correct error

The g_example_start() example function in g_geom(9) is shown to return 'struct
geom *' when it should be 'void'.

           static struct geom *
           g_example_start(struct bio *bp)
           {

-->>

           static void
           g_example_start(struct bio *bp)
           {

Patch included.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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