From f9ea7b6e8253273ebb1023c4380a305e6d3cf02b Mon Sep 17 00:00:00 2001 From: Christopher Davidson Date: Wed, 3 Apr 2024 13:48:40 -0300 Subject: [PATCH] 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 7e97f7de496..423869d6ff6 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 -- 2.45.0