From nobody@FreeBSD.org  Sun May 28 14:15:24 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B09A416A5DD
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 May 2006 14:15:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5D04C43D66
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 May 2006 14:15:24 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4SEFOBH050601
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 May 2006 14:15:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k4SEFOIX050600;
	Sun, 28 May 2006 14:15:24 GMT
	(envelope-from nobody)
Message-Id: <200605281415.k4SEFOIX050600@www.freebsd.org>
Date: Sun, 28 May 2006 14:15:24 GMT
From: Irsla <irsla42@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MAKE_DEV(9) prototype error
X-Send-Pr-Version: www-2.3

>Number:         98054
>Category:       docs
>Synopsis:       MAKE_DEV(9) prototype error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 28 14:20:18 GMT 2006
>Closed-Date:    Sun May 28 17:45:37 CEST 2006
>Last-Modified:  Sun May 28 17:45:37 CEST 2006
>Originator:     Irsla
>Release:        6.0
>Organization:
none
>Environment:
FreeBSD my_box 6.0-RELEASE FreeBSD 6.0-RELEASE #5: Mon Apr 17 15:22:31 CEST 2006     root@my_box:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
According to the prototypes in /usr/src/sys/sys/conf.h

There is a prototype typo on the MAKE_DEV(9):

return value of make_dev, make_dev_alias aren't correct, it should be struct cdev * but the man tells it's struct cdev.

paramenters of destroy_dev, dev_depends, it should be struct cdev * but the man tells it's struct cdev

Thanks,
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Sun May 28 17:44:36 CEST 2006 
State-Changed-Why:  
This was fixed 8 month ago in HEAD and 2 weeks ago in RELENG_6. 
Thanks for the report anyway! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98054 
>Unformatted:
