aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/add_key.2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2/add_key.2')
-rw-r--r--man/man2/add_key.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man2/add_key.2 b/man/man2/add_key.2
index b316c15c21..a4515efc51 100644
--- a/man/man2/add_key.2
+++ b/man/man2/add_key.2
@@ -15,7 +15,7 @@ Standard C library
.B #include <keyutils.h>
.P
.BI "key_serial_t add_key(const char *" type ", const char *" description ,
-.BI " const void " payload [. plen "], size_t " plen ,
+.BI " const void " payload [. size "], size_t " size ,
.BI " key_serial_t " keyring ");"
.fi
.P
@@ -29,8 +29,8 @@ and
.IR description ,
instantiates it with the
.I payload
-of length
-.IR plen ,
+of size
+.IR size ,
attaches it to the nominated
.IR keyring ,
and returns the key's serial number.
@@ -102,7 +102,7 @@ keys of any type.
If this interface is used to create a keyring, then
.I payload
should be NULL and
-.I plen
+.I size
should be zero.
.TP
.I \[dq]user\[dq]