git: f9ea7b6e8253 - main - device_add_child.9: remove self-reference
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Apr 2024 17:04:29 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=f9ea7b6e8253273ebb1023c4380a305e6d3cf02b
commit f9ea7b6e8253273ebb1023c4380a305e6d3cf02b
Author: Christopher Davidson <christopher.davidson@gmail.com>
AuthorDate: 2024-04-03 16:48:40 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-04-03 16:56:07 +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
---
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