aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/device_add_child.9
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-12-23 17:39:45 +0000
committerBruce Evans <bde@FreeBSD.org>1999-12-23 17:39:45 +0000
commit31f698b8cabd2576393d80b5be99f509b7ba92af (patch)
tree2899573e78506cb0a6a970b84a173489131f3ff7 /share/man/man9/device_add_child.9
parent9961a6adff298edbb685187c24445456f7cc0afe (diff)
downloadsrc-31f698b8cabd2576393d80b5be99f509b7ba92af.tar.gz
src-31f698b8cabd2576393d80b5be99f509b7ba92af.zip
Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
Notes
Notes: svn path=/head/; revision=55051
Diffstat (limited to 'share/man/man9/device_add_child.9')
-rw-r--r--share/man/man9/device_add_child.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9
index 1be5feefd2a2..4b132fae0c20 100644
--- a/share/man/man9/device_add_child.9
+++ b/share/man/man9/device_add_child.9
@@ -38,9 +38,9 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
-.Ft int
+.Ft device_t
.Fn device_add_child "device_t dev" "const char *name" "int unit"
-.Ft int
+.Ft device_t
.Fn device_add_child_ordered "device_t dev" "int order" "const char *name" "int unit"
.Sh DESCRIPTION
.Pp