diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2020-06-12 17:35:33 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-06-19 14:58:54 +0200 |
| commit | 32b46e50052e50b65e95cc9df9738e7d098e779f (patch) | |
| tree | 1f605b869a14bc6c92a2c90afe7ab5b0027aad5e /man2 | |
| parent | 718bc4a9c176c45632681aa26930062dfafd6881 (diff) | |
| download | man-pages-32b46e50052e50b65e95cc9df9738e7d098e779f.tar.gz | |
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>
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/keyctl.2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 93e03071f6..6d0386c0e0 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) |
