[Bug 203498] Example in g_geom(9) man page returns wrong type

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 2 03:08:23 UTC 2015


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 at FreeBSD.org
          Reporter: chadf at 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.


More information about the freebsd-doc mailing list