diff options
author | bde <bde@FreeBSD.org> | 1999-12-23 17:39:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-12-23 17:39:45 +0000 |
commit | c7f1fcb7e2c1ad0022cf6a8d7d25bd5e36bac7e0 (patch) | |
tree | 0c0bb59dd037df5f0ba4e82e270bec9a44735fa2 /share | |
parent | 6e69b44b9d4cdf09f6fea49ba1a854fe7bf02188 (diff) | |
download | FreeBSD-src-c7f1fcb7e2c1ad0022cf6a8d7d25bd5e36bac7e0.zip FreeBSD-src-c7f1fcb7e2c1ad0022cf6a8d7d25bd5e36bac7e0.tar.gz |
Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/device_add_child.9 | 4 |
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 1be5fee..4b132fa 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 |