libselinux: man: context_new(3): fix the return value description

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
Pádraig Brady 2012-12-04 02:33:02 +00:00 committed by Eric Paris
parent be2d728599
commit 2f624c94c7

View File

@ -69,7 +69,13 @@ structure.
set a context component.
.
.SH "RETURN VALUE"
On success, zero is returned. On failure, \-1 is returned and
On failure
.BR context_*_set ()
functions return non-zero and 0 on success.
The other functions return NULL on failure and non-NULL on success.
On failure
.I errno
is set appropriately.
.