summaryrefslogtreecommitdiffstats
path: root/share/man/man9/devclass_get_devices.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/devclass_get_devices.9')
-rw-r--r--share/man/man9/devclass_get_devices.97
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man9/devclass_get_devices.9 b/share/man/man9/devclass_get_devices.9
index 2872adc..797a2f6 100644
--- a/share/man/man9/devclass_get_devices.9
+++ b/share/man/man9/devclass_get_devices.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 16, 1998
+.Dd May 19, 2005
.Dt DEVCLASS_GET_DEVICES 9
.Os
.Sh NAME
@@ -46,7 +46,10 @@ return the list in
and the count in
.Fa *devcountp .
The memory allocated for the list should be freed using
-.Fn free "*devlistp" "M_TEMP" .
+.Fn free "*devlistp" "M_TEMP" ,
+even if
+.Fa *devcountp
+is 0.
.Sh RETURN VALUES
Zero is returned on success, otherwise an appropriate error is returned.
.Sh SEE ALSO
OpenPOWER on IntegriCloud