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:
Oleksandr Kravchuk 2020-06-12 17:35:33 +02:00 committed by Michael Kerrisk
parent 718bc4a9c1
commit 32b46e5005
1 changed files with 1 additions and 0 deletions

View File

@ -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)