Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2024 18:19:09 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: de436a4fbf79 - stable/14 - device_add_child.9: remove self-reference
Message-ID:  <202404181819.43IIJ9CP017814@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=de436a4fbf790c8af2f67dc4d21f5fdc4c9ae499

commit de436a4fbf790c8af2f67dc4d21f5fdc4c9ae499
Author:     Christopher Davidson <christopher.davidson@gmail.com>
AuthorDate: 2024-04-03 16:48:40 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-04-18 18:18:34 +0000

    device_add_child.9: remove self-reference
    
    Change .Xr to .Nm, which quiets a mandoc warning
    
    Reviewed by:    mhorne
    MFC after:      3 days
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1135
    
    (cherry picked from commit f9ea7b6e8253273ebb1023c4380a305e6d3cf02b)
---
 share/man/man9/device_add_child.9 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9
index 7e97f7de4963..423869d6ff6b 100644
--- a/share/man/man9/device_add_child.9
+++ b/share/man/man9/device_add_child.9
@@ -111,10 +111,10 @@ When adding a child to another device node, such as in an identify
 routine, use
 .Xr BUS_ADD_CHILD 9
 instead of
-.Xr device_add_child 9 .
+.Fn device_add_child .
 .Xr BUS_ADD_CHILD 9
 will call
-.Xr device_add_child 9
+.Fn device_add_child
 and add the proper bus-specific data to the new child.
 .Fn device_add_child
 does not call



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