From f681194b57c406d655e45564fb2b49f823015bc8 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Tue, 13 Feb 2024 11:39:30 +0100 Subject: [PATCH] Fix mistake in crypt_set_keyring_to_link documentation. The keyring_to_link_vk parameter must be prefixed by either "%:" or "%keyring:" substrings provided caller opted for text description of the target keyring. --- lib/libcryptsetup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libcryptsetup.h b/lib/libcryptsetup.h index 82d042f00..88d03bab0 100644 --- a/lib/libcryptsetup.h +++ b/lib/libcryptsetup.h @@ -3135,7 +3135,7 @@ void crypt_safe_memzero(void *data, size_t size); * * @note keyring_to_link_vk may be passed in various string formats: * It can be kernel key numeric id of existing keyring written as a string, - * keyring name prefixed optionally be either "%:" or "%keyring:" substrings or keyctl + * keyring name prefixed by either "%:" or "%keyring:" substrings or keyctl * special values for keyrings "@t", "@p", "@s" and so on. See keyctl(1) man page, * section KEY IDENTIFIERS for more information. All other prefixes starting "%:" * are ignored.