mirror of https://github.com/mkerrisk/man-pages
keyctl.2: Declare auth_key
The variable is used in the code example, but not declared, leading to a compilation error. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
718bc4a9c1
commit
32b46e5005
|
@ -2103,6 +2103,7 @@ main(int argc, char *argv[])
|
|||
char dbuf[256];
|
||||
char auth_key_payload[256];
|
||||
int akp_size; /* Size of auth_key_payload */
|
||||
int auth_key;
|
||||
|
||||
fp = fopen("/tmp/key_instantiate.log", "w");
|
||||
if (fp == NULL)
|
||||
|
|
Loading…
Reference in New Issue