Bug 115632

Summary: [geom][patch] Bad prototype in DECLARE_GEOM_CLASS(9) example
Product: Documentation Reporter: Romain Tartière <romain>
Component: Books & ArticlesAssignee: Gabor Kovesdan <gabor>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
DECLARE_GEOM_CLASS.9.diff none

Description Romain Tartière 2007-08-19 22:50:01 UTC
The documentation of DECLARE_GEOM_CLASS includes a short code snippet,
but the g_example_taste function return type is wrong:
 - "struct geom *" in the man page;
 - "struct g_geom *" in <geom/geom.h>.
Comment 1 Gabor Kovesdan freebsd_committer freebsd_triage 2007-09-13 19:08:56 UTC
Responsible Changed
From-To: freebsd-doc->gabor

Take.
Comment 2 Gabor Kovesdan freebsd_committer freebsd_triage 2007-09-20 12:12:53 UTC
State Changed
From-To: open->patched

Patched in HEAD, keeping this for MFC reminder.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-09-20 22:27:12 UTC
gabor       2007-09-20 10:52:09 UTC

  FreeBSD src repository (doc,ports committer)

  Modified files:
    share/man/man9       DECLARE_GEOM_CLASS.9 
  Log:
  - Fix a declaration example
  
  PR:             docs/115632
  Submitted by:   Romain Tartiere <romain@blogreen.org>
  Approved by:    re (bmah)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.5       +2 -2      src/share/man/man9/DECLARE_GEOM_CLASS.9
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Gabor Kovesdan freebsd_committer freebsd_triage 2007-09-28 12:14:57 UTC
State Changed
From-To: patched->closed

MFC to RELENG_6 completed, thanks for the submission!