-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlD+qFoACgkQrlYvE4MpobNHWwCghWm6A5i+LPX2FwqtG8yAp9tT r8gAmwf3Q7UaWW79jQoJFOc/lDVqurg9 =tYBS -----END PGP SIGNATURE-----
>From dadac91c52fefe962e41715a37571e2524942a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@xxxxxxxxxxxxxx> Date: Tue, 4 Dec 2012 02:33:02 +0000 Subject: [PATCH 64/84] libselinux: man: context_new(3): fix the return value description Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- libselinux/man/man3/context_new.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libselinux/man/man3/context_new.3 b/libselinux/man/man3/context_new.3 index 0257445..3dabac3 100644 --- a/libselinux/man/man3/context_new.3 +++ b/libselinux/man/man3/context_new.3 @@ -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. . -- 1.8.1