diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2020-05-13 18:23:06 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-05-18 14:56:06 +0100 |
commit | 858e238ad1ae8deb74da4984ea132f5c74c08f3b (patch) | |
tree | c652c58f3a62e912108e8f904449fa45c56cde3a | |
parent | 704802463dd1fd74000132d4325300c718a4b474 (diff) | |
download | keyutils-858e238ad1ae8deb74da4984ea132f5c74c08f3b.tar.gz |
man: clarify that keyctl_set_reqkey_keyring(3) returns the old default
The prose mentions this, but the return value section gave conflicting
information.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | man/keyctl_set_reqkey_keyring.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/keyctl_set_reqkey_keyring.3 b/man/keyctl_set_reqkey_keyring.3 index 00da586..6e6725e 100644 --- a/man/keyctl_set_reqkey_keyring.3 +++ b/man/keyctl_set_reqkey_keyring.3 @@ -66,8 +66,8 @@ and .SH RETURN VALUE On success .BR keyctl_set_reqkey_keyring () -returns -.BR 0 . +returns the serial number of the keyring which was the previous default for the +current thread. On error, the value .B -1 will be returned and |