aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Werner <twerner@debian.org>2010-07-22 23:43:02 +0200
committerAndrew G. Morgan <morgan@kernel.org>2010-07-21 07:19:52 -0700
commit3614d34fd7c06f8c6d80c9f7184d4340f6f91c12 (patch)
tree652aa0cf5fdc19f410987da5ef33f1e7fe5e2671
parent8525eb6615366f46f9bb753ce7f16b1c4a2adfff (diff)
downloadlibcap-3614d34fd7c06f8c6d80c9f7184d4340f6f91c12.tar.gz
fix manpage cap_from_text(3)
thanks to Roland Koebler for the new text Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--doc/cap_from_text.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cap_from_text.3 b/doc/cap_from_text.3
index 1128df8..ccf7d95 100644
--- a/doc/cap_from_text.3
+++ b/doc/cap_from_text.3
@@ -149,9 +149,9 @@ capability set and lower this Inheritable capability;
.BR cap_from_text (),
.BR cap_to_text ()
and
-.BR cap_to_text ()
+.BR cap_to_name ()
return a non-NULL value on success, and NULL on failure.
-.BR cap_from_text ()
+.BR cap_from_name ()
returns 0 for success, and -1 on failure (unknown capability).
.PP
On failure,