From 32b46e50052e50b65e95cc9df9738e7d098e779f Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Fri, 12 Jun 2020 17:35:33 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man2/keyctl.2 | 1 + 1 file changed, 1 insertion(+) diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 93e03071f..6d0386c0e 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -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)