From 858e238ad1ae8deb74da4984ea132f5c74c08f3b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 13 May 2020 18:23:06 -0400 Subject: 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 Signed-off-by: David Howells --- man/keyctl_set_reqkey_keyring.3 | 4 ++-- 1 file 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 -- cgit v1.2.1