diff options
Diffstat (limited to 'security/keys/keyctl.c')
-rw-r--r-- | security/keys/keyctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index eca51918c951..0b3f5d72af1c 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c | |||
@@ -1065,7 +1065,7 @@ long keyctl_instantiate_key_iov(key_serial_t id, | |||
1065 | goto no_payload; | 1065 | goto no_payload; |
1066 | 1066 | ||
1067 | ret = rw_copy_check_uvector(WRITE, _payload_iov, ioc, | 1067 | ret = rw_copy_check_uvector(WRITE, _payload_iov, ioc, |
1068 | ARRAY_SIZE(iovstack), iovstack, &iov); | 1068 | ARRAY_SIZE(iovstack), iovstack, &iov, 1); |
1069 | if (ret < 0) | 1069 | if (ret < 0) |
1070 | return ret; | 1070 | return ret; |
1071 | if (ret == 0) | 1071 | if (ret == 0) |