1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

lib/libcam/cam.3: note that cam_freeccb(3) with ccb == NULL is a no-op

This allows me to accurately test this scenario, and for others to rely
on the behavior, instead of relying on knowledge obtained via code
inspection.

Wording borrowed from free(3).

MFC after:	1 week
Requested by:	ken (D9928)
Reviewed by:	imp
Sponsored by:	Dell EMC Isilon
Differential Revision:	D9969
This commit is contained in:
Enji Cooper 2017-03-13 02:12:33 +00:00
parent 12211016f5
commit c876175c61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315186

View File

@ -302,6 +302,11 @@ structure.
.Fn cam_freeccb
frees CCBs allocated by
.Fn cam_getccb .
If
.Va ccb
is
.Dv NULL ,
no action is taken.
.Pp
.Fn cam_path_string
takes as arguments a