Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 15:15:53 -0600 (CST)
From:      Maxime Henrion <mux@sneakerz.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/34047: [PATCH] function dev_depends() is referred to as depends_dev() in make_dev(9) and the MLINK does the same error
Message-ID:  <20020118211553.2EC545D006@sneakerz.org>

next in thread | raw e-mail | index | archive | help

>Number:         34047
>Category:       docs
>Synopsis:       [PATCH] function dev_depends() is referred to as depends_dev() in make_dev(9) and the MLINK does the same error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 18 13:20:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Maxime Henrion
>Release:        
>Organization:
None
>Environment:
>Description:
	In the make_dev(9) manpage, the dev_depends() functions is called
	depends_dev() several times.  Moreover, the Makefile in man9/
	creates an MLINK to depends_dev.9 instead of dev_depends.9.

>How-To-Repeat:
	man make_dev
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/share/man/man9/Makefile,v
retrieving revision 1.144
diff -u -r1.144 Makefile
--- Makefile	7 Dec 2001 20:58:06 -0000	1.144
+++ Makefile	18 Jan 2002 21:08:34 -0000
@@ -137,7 +137,7 @@
 MLINKS+=kthread.9 kthread_suspend_check.9
 MLINKS+=ktr.9 CTR0.9 ktr.9 CTR1.9 ktr.9 CTR2.9
 MLINKS+=ktr.9 CTR3.9 ktr.9 CTR4.9 ktr.9 CTR5.9
-MLINKS+=make_dev.9 depends_dev.9
+MLINKS+=make_dev.9 dev_depends.9
 MLINKS+=make_dev.9 destroy_dev.9
 MLINKS+=make_dev.9 make_dev_alias.9
 MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
Index: make_dev.9
===================================================================
RCS file: /home/ncvs/src/share/man/man9/make_dev.9,v
retrieving revision 1.10
diff -u -r1.10 make_dev.9
--- make_dev.9	4 Oct 2001 06:22:22 -0000	1.10
+++ make_dev.9	18 Jan 2002 21:08:06 -0000
@@ -31,7 +31,7 @@
 .Nm make_dev ,
 .Nm make_dev_alias ,
 .Nm destroy_dev ,
-.Nm depends_dev
+.Nm dev_depends
 .Nd manage
 .Vt dev_t Ns 's
 and DEVFS registration for devices
@@ -112,7 +112,7 @@
 .Fn make_dev_alias .
 .Pp
 The
-.Fn depends_dev
+.Fn dev_depends
 function establishes a parent-child relationship between two devices.
 The net effect is that a
 .Fn destroy_dev
@@ -133,6 +133,6 @@
 first appeared in
 .Fx 4.1 .
 The function
-.Fn depends_dev
+.Fn dev_depends
 first appeared in
 .Fx 5.0 .

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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